enum

Cairo::PsLevel

Inherits Enum / Comparable / Value / Object

Describes the language level of the PostScript Language Reference that a generated PostScript file will conform to.

Constants

Level2 = 0

The language level 2 of the PostScript specification.

Level3 = 1

The language level 3 of the PostScript specification.

Instance methods

level2?

Returns true if this enum value equals Level2

Source
level3?

Returns true if this enum value equals Level3

Source
to_string

Get the string representation of the given level id. This function will return empty string if level id isn't valid. See PsSurface#levels for a way to get the list of valid level ids.

###Returns The string associated to given level.

Source