Cairo::SvgVersion
Inherits Enum / Comparable / Value / Object
SvgVersion is used to describe the version number of the
SVG specification that a generated SVG file will conform to.
Constants
V_1_1 = 0
The version 1.1 of the SVG specification.
V_1_2 = 1
The version 1.2 of the SVG specification.
Instance methods
to_string
Get the string representation of the given version id.
This function will return nil if version isn't valid.
See SvgSurface#versions for a way to get the list of valid version ids.
###Returns The string associated to given version.