| Reference Manual - 1.4.13

IDirectFBSurface | SetAlphaRamp

#### Set the alpha ramp for formats with one or two alpha bits.

DFBResult SetAlphaRamp (
| IDirectFBSurface |  | * | thiz,
| u8 |  |  | a0,
| u8 |  |  | a1,
| u8 |  |  | a2,
| u8 |  |  | a3
);

Either all four values or the first and the last one are used, depending on the format. Default values are: 0x00, 0x55, 0xaa, 0xff.

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License