enum Cairo::SubpixelOrder

Overview

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.

Defined in:

cairo/subpixel_order.cr

Enum Members

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 Method Summary

Instance Method Detail

def bgr? #

[View source]
def default? #

[View source]
def rgb? #

[View source]
def vbgr? #

[View source]
def vrgb? #

[View source]