| Reference Manual - 1.4.13

IDirectFBSurface | SetIndexTranslation

#### Set index translation table.

DFBResult SetIndexTranslation (
| IDirectFBSurface |  | * | thiz,
| const int |  | * | indices,
| int |  |  | num_indices
);

Set the translation table used for fast indexed to indexed pixel format conversion.

A negative index means that the pixel will not be written.

Undefined indices will be treated like negative ones.

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