Enums

Details

class Rsvg.Error(value)

Bases: GObject.GEnum

An enumeration representing possible errors

classmethod quark()
Returns:

The error domain

Return type:

int

The error domain for RSVG

FAILED = 0

the request failed

class Rsvg.Unit(value)

Bases: GLib.Enum

Units for the RsvgLength struct. These have the same meaning as CSS length units.

PERCENT = 0

percentage values; where 1.0 means 100%.

PX = 1

pixels

EM = 2

em, or the current font size

EX = 3

x-height of the current font

IN = 4

inches

CM = 5

centimeters

MM = 6

millimeters

PT = 7

points, or 1/72 inch

PC = 8

picas, or 1/6 inch (12 points)