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

cairo_subpixel_order_t

Format

An object of class list of length 5.

Details

Since: 1.0

CAIRO_SUBPIXEL_ORDER_DEFAULT

Use the default subpixel order for for the target device, since 1.0

CAIRO_SUBPIXEL_ORDER_RGB

Subpixel elements are arranged horizontally with red at the left, since 1.0

CAIRO_SUBPIXEL_ORDER_BGR

Subpixel elements are arranged horizontally with blue at the left, since 1.0

CAIRO_SUBPIXEL_ORDER_VRGB

Subpixel elements are arranged vertically with red at the top, since 1.0

CAIRO_SUBPIXEL_ORDER_VBGR

Subpixel elements are arranged vertically with blue at the top, since 1.0

See also