Enumeration (GI Enum)

Rsvg-2.0RsvgUnit

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

If you test for the values of this enum, please note that librsvg may add other units in the future as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with a default case in a switch() statement).

Index

Enumeration Members

Enumeration Members

CH: number

advance measure of a '0' character (depends on the text orientation)

CM: number

centimeters

EM: number

em, or the current font size

EX: number

x-height of the current font

IN: number

inches

MM: number

millimeters

PC: number

picas, or 1/6 inch (12 points)

PERCENT: number

percentage values; where 1.0 means 100%.

PT: number

points, or 1/72 inch

PX: number

pixels