Argb32 Class Referencefinal

#include <Pt/Gfx/Argb32.h>

ARGB-32 image format. More...

Inherits ImageFormat.

Public Member Functions

std::size_t pixelStride () const
 Returns the distance between two pixel base pointers in bytes.

Detailed Description

Argb32 stores each pixel as 32 bits with 8-bit alpha, red, green, and blue, with straight alpha. Argb32Image uses this format at compile time. ImageFormat::argb32() returns the runtime instance.