Skip to content

API Reference / @gtkx/cairo / SubpixelOrder

Enumeration: SubpixelOrder

Defined in: enums.d.ts:22

The order of color elements within each pixel on a display, for subpixel antialiasing.

Enumeration Members

BGR

BGR: 2

Defined in: enums.d.ts:299

Subpixels are ordered blue, green, red horizontally.


DEFAULT

DEFAULT: 0

Defined in: enums.d.ts:295

Uses the default subpixel order for the target device.


RGB

RGB: 1

Defined in: enums.d.ts:297

Subpixels are ordered red, green, blue horizontally.


VBGR

VBGR: 4

Defined in: enums.d.ts:303

Subpixels are ordered blue, green, red vertically.


VRGB

VRGB: 3

Defined in: enums.d.ts:301

Subpixels are ordered red, green, blue vertically.

Released under the MPL-2.0 License.