Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Flags
HandleFlags
data HandleFlags Source #
Configuration flags for an Handle
. Note that not all of Handle
's
constructors let you specify flags. For this reason, handleNewFromGfileSync
and handleNewFromStreamSync
are the preferred ways to create a handle.
Since: 2.40.3
HandleFlagsFlagsNone | No flags are set. |
HandleFlagsFlagUnlimited | Disable safety limits in the XML parser. Libxml2 has several limits designed to keep malicious XML content from consuming too much memory while parsing. For security reasons, this should only be used for trusted input! Since: 2.40.3 |
HandleFlagsFlagKeepImageData | Use this if the Cairo surface to which you are rendering is a PDF, PostScript, SVG, or Win32 Printing surface. This will make librsvg and Cairo use the original, compressed data for images in the final output, instead of passing uncompressed images. For example, this will make the a resulting PDF file smaller and faster. Please see <https://www.cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-set-mime-data the Cairo documentation> for details. |
AnotherHandleFlags Int | Catch-all for unknown values |