[Poppler-bugs] [Bug 102513] New: [PATCH] Allow to control whether renderToImage shows annotations
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 1 20:30:57 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102513
Bug ID: 102513
Summary: [PATCH] Allow to control whether renderToImage shows
annotations
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: qt frontend
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: oliver.sander at tu-dresden.de
Created attachment 133932
--> https://bugs.freedesktop.org/attachment.cgi?id=133932&action=edit
Patch that allows to control whether annotations are shown
I'd like to control whether the renderToImage and renderToPainter methods show
annotations or not. To this end, this patch introduces a new value
'HideAnnotations' to the Document::RenderHint enum, and makes the said methods
mind it.
I have no idea whether this is a good way to get the new option into the
interface, but it seemed the least invasive one to me. renderToPainter has a
dedicated PainterFlags parameter, but renderToImage doesn't see that one. Is
the new RenderHint value okay?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170901/83ac4a68/attachment.html>
More information about the Poppler-bugs
mailing list