#include <palette.h>
Constructor & Destructor Documentation
Palette::Palette |
( |
const String & |
name_ | ) |
|
Palette::Palette |
( |
const Surface & |
surface, |
|
|
int |
size = 256 |
|
) |
| |
Member Function Documentation
Palette::iterator Palette::find_closest |
( |
const Color & |
color, |
|
|
float * |
dist = 0 |
|
) |
| |
Palette::const_iterator Palette::find_closest |
( |
const Color & |
color, |
|
|
float * |
dist = 0 |
|
) |
| const |
Palette::iterator Palette::find_heavy |
( |
| ) |
|
Palette::iterator Palette::find_light |
( |
| ) |
|
Palette Palette::grayscale |
( |
int |
steps = 16 | ) |
|
|
static |
References _, synfig::Gamma::b_F32_to_F32(), synfig::PaletteItem::color, synfig::Gamma::g_F32_to_F32(), synfig::PaletteItem::name, PALETTE_GIMP_EXT, PALETTE_GIMP_FILE_COOKIE, PALETTE_SYNFIG_EXT, PALETTE_SYNFIG_FILE_COOKIE, synfig::Gamma::r_F32_to_F32(), synfig::Color::set_a(), synfig::Color::set_b(), synfig::Color::set_g(), and synfig::Color::set_r().
The documentation for this class was generated from the following files: