ChafaPixelType

Type Alias ChafaPixelType 

Source
pub type ChafaPixelType = c_uint;
Expand description

ChafaPixelType: @CHAFA_PIXEL_RGBA8_PREMULTIPLIED: Premultiplied RGBA, 8 bits per channel. @CHAFA_PIXEL_BGRA8_PREMULTIPLIED: Premultiplied BGRA, 8 bits per channel. @CHAFA_PIXEL_ARGB8_PREMULTIPLIED: Premultiplied ARGB, 8 bits per channel. @CHAFA_PIXEL_ABGR8_PREMULTIPLIED: Premultiplied ABGR, 8 bits per channel. @CHAFA_PIXEL_RGBA8_UNASSOCIATED: Unassociated RGBA, 8 bits per channel. @CHAFA_PIXEL_BGRA8_UNASSOCIATED: Unassociated BGRA, 8 bits per channel. @CHAFA_PIXEL_ARGB8_UNASSOCIATED: Unassociated ARGB, 8 bits per channel. @CHAFA_PIXEL_ABGR8_UNASSOCIATED: Unassociated ABGR, 8 bits per channel. @CHAFA_PIXEL_RGB8: Packed RGB (no alpha), 8 bits per channel. @CHAFA_PIXEL_BGR8: Packed BGR (no alpha), 8 bits per channel. @CHAFA_PIXEL_MAX: Last supported pixel type, plus one.

Pixel formats supported by #ChafaCanvas and #ChafaSymbolMap.

Since: 1.4