Gjsify LogoGjsify Logo

Configuration flags for an [classRsvg.Handle]. Note that not all of [classRsvg.Handle]'s constructors let you specify flags. For this reason, [ctorRsvg.Handle.new_from_gfile_sync] and [ctorRsvg.Handle.new_from_stream_sync] are the preferred ways to create a handle.

bitfield

Index

Enumeration Members

FLAGS_NONE: number

No flags are set.

FLAG_KEEP_IMAGE_DATA: number

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 the Cairo documentation for details.

FLAG_UNLIMITED: number

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method