Enum cairo_subpixel_order_t

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.

The enum base type is int .

Enum members

Name Description
CAIRO_SUBPIXEL_ORDER_BGR Subpixel elements are arranged horizontally with blue at the left
CAIRO_SUBPIXEL_ORDER_DEFAULT Use the default subpixel order for for the target device
CAIRO_SUBPIXEL_ORDER_RGB Subpixel elements are arranged horizontally with red at the left
CAIRO_SUBPIXEL_ORDER_VBGR Subpixel elements are arranged vertically with blue at the top
CAIRO_SUBPIXEL_ORDER_VRGB Subpixel elements are arranged vertically with red at the top

Authors

Johannes Pfau cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1