[Xr] API questions

Keith Packard keithp at keithp.com
Thu Jul 3 10:50:11 PDT 2003


Around 10 o'clock on Jul 3, Bill Spitzak wrote:

> Even though it sounds primitive, I would really like to see an 8-bit/color 
> interface added, like XrSetColor32(u32 color). This would take a number 
> 0xRRGGBBAA to specify the rgba.

Many applications use a format something like that, but the precise 
representation differs and there is disagreement on whether the RGB values 
should be premultiplied.  Xr sidesteps the whole premultiplied alpha issue 
by having separate interfaces...

-keith






More information about the cairo mailing list