enum

Cairo::SubpixelOrder

Inherits Enum / Comparable / Value / Object

The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of Antialias::Subpixel.

Constants

Default = 0

Use the default subpixel order for for the target device.

RGB = 1

Subpixel elements are arranged horizontally with red at the left.

BGR = 2

Subpixel elements are arranged horizontally with blue at the left.

VRGB = 3

Subpixel elements are arranged vertically with red at the top.

VBGR = 4

Subpixel elements are arranged vertically with blue at the top.

Instance methods

bgr?

Returns true if this enum value equals BGR

Source
default?

Returns true if this enum value equals Default

Source
rgb?

Returns true if this enum value equals RGB

Source
vbgr?

Returns true if this enum value equals VBGR

Source
vrgb?

Returns true if this enum value equals VRGB

Source