Skip to main content

Module pixfmt_rgba

Module pixfmt_rgba 

Source
Expand description

RGBA pixel format with alpha blending.

Port of agg_pixfmt_rgba.h — pixel format that reads and writes RGBA32 pixels (4 bytes per pixel, non-premultiplied alpha) with alpha blending.

Provides the PixelFormat trait and PixfmtRgba32 concrete implementation.

Structs§

PixfmtRgba32
Pixel format for non-premultiplied RGBA32 (4 bytes per pixel).

Traits§

PixelFormat
Trait for pixel format renderers that can blend colors into a rendering buffer.