Palette

Palette
Scaleform::Render::Palette
Declaration
class Palette;
Description

Palette class represents a table of colors and is also known as color map. Palette is usually allocated for a Image_P8 format. Palette is reference-counted so that it can be easily passed and stored in ImageData. After palette is created, the number of colors in it can no longer be changed.

Methods
Method 
Description 
Increments the reference count of the color map. 
Creates a new color map of specified size. 
Retrieves the number of colors in the color map. 
Retrieves the colors in the color map. 
Determines whether the alpha channel is set for the color. 
Decrements the reference count of the color map. 
Operators
Operator 
Description 
!= 
Determines the inequality of the two Palettes. 
== 
Determines the equality of the two Palette. 
File

Render_Image.h