enum Cairo::SvgVersion
Overview
SvgVersion
is used to describe the version number of the
SVG specification that a generated SVG file will conform to.
Defined in:
cairo/svg_version.crEnum Members
-
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 Method Summary
-
#to_string : String
Get the string representation of the given version id.
- #v_1_1?
- #v_1_2?
Instance Method Detail
def to_string : 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.