add a displayAnnot to Page class
Submitted by Jose Aliste
Assigned to poppler-bugs
Created attachment 105943 patch
The title says it all. I am attaching a patch to add Page::displayAnnot method. The rationale for this is to be able to render just one annotation (that could be being modified by a drag-and-drop operation for instance) on top of an already rendered page. This will allow fast drag-and-drop animations when creating highlighting annotations and other annots that will need drag-and-drop interaction.
Although we will be using no many options in the glib backend, I chosed to mimick as much as possible displaySlice() in terms of arguments, only removing the annotChecks since this method really wants to render the annotation.
I will attach the glib part in another bug.
Attachment 105943, "patch":