[Poppler-bugs] [Bug 83643] Add poppler_page_render_annot method

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 7 03:57:29 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83643

--- Comment #3 from Jose Aliste <jose.aliste at gmail.com> ---
to move an annotation probably we need more API in the glib part to render the
page with all annotations but one. and then use this method to render the annot
as you described. It is implemented like this for dragging highlight in the
wip/highlight branch in git gnome evince. 

The most basic usage of the API is to render over a page already rendered
without the annotation, but you could render to any portion of the page by
setting clip extents and proper transformation on the cairo context (of course
this does not work just yet, as it does not work properly in
poppler-render_page but that's a bug in the implementations that i plan to fix
when i finally review and try to merge tiling support) 

I agree we need to document better, and i will modify the demo of adding
highlighting in order to use this func.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141007/6219139b/attachment.html>


More information about the Poppler-bugs mailing list