Unit


Description:

[ CCode ( cprefix = "RSVG_UNIT_" , has_type_id = false ) ]
public enum Unit

Units for the `RsvgLength` struct.

These have the same meaning as [CSS length units](https://www.w3.org/TR/CSS21/syndata.html#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).


Namespace: Rsvg
Package: librsvg-2.0

Content:

Enum values: