Rgb32Pixel Class Reference

#include <Pt/Gfx/Rgb32.h>

RGB-32 pixel as premultiplied ARGB-32. More...

Public Member Functions

Rgb32Color color () const
 Returns the premultiplied RGB-32 color.
 
Color getColor () const
 Returns ARGB-32 color.
 
void getColors (Rgb32Color *colors, std::size_t length) const
 Get as premultiplied RGB-32 colors.
 

Detailed Description

When converting to a format without alpha the premultiplied RGB values are used directly, which is equivalent to compositing over black.