Sets the subpixel order for the font options object. 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. See the documentation for #cairo_subpixel_order_t for full details.

cairo_font_options_set_subpixel_order(options, subpixel_order)

Arguments

options

[cairo_font_options_t *] a #cairo_font_options_t

subpixel_order

[int] the new subpixel order

Details

Since: 1.0

C function prototype: void cairo_font_options_set_subpixel_order (cairo_font_options_t *options, cairo_subpixel_order_t subpixel_order)

See also