|
synfig-core
1.0.3
|
Template File. More...
#include "palette.h"#include "surface.h"#include "general.h"#include "gamma.h"#include <fstream>#include <iostream>#include <sstream>Macros | |
| #define | PALETTE_SYNFIG_FILE_COOKIE "SYNFIGPAL1.0" |
| #define | PALETTE_SYNFIG_EXT ".spal" |
| #define | PALETTE_GIMP_FILE_COOKIE "GIMP Palette" |
| #define | PALETTE_GIMP_EXT ".gpl" |
Functions | |
| bool | weight_less_than (const PaletteItem &lhs, const PaletteItem &rhs) |
| bool | luma_less_than (const PaletteItem &lhs, const PaletteItem &rhs) |
| bool | luma_less_than (const PaletteItem &lhs, const float &rhs) |
Template File.
$Id$
| #define PALETTE_SYNFIG_FILE_COOKIE "SYNFIGPAL1.0" |
Referenced by synfig::Palette::load_from_file(), and synfig::Palette::save_to_file().
| #define PALETTE_SYNFIG_EXT ".spal" |
Referenced by synfig::Palette::load_from_file().
| #define PALETTE_GIMP_FILE_COOKIE "GIMP Palette" |
Referenced by synfig::Palette::load_from_file().
| #define PALETTE_GIMP_EXT ".gpl" |
Referenced by synfig::Palette::load_from_file().
| bool weight_less_than | ( | const PaletteItem & | lhs, |
| const PaletteItem & | rhs | ||
| ) |
References synfig::PaletteItem::weight.
| bool luma_less_than | ( | const PaletteItem & | lhs, |
| const PaletteItem & | rhs | ||
| ) |
References synfig::PaletteItem::color, and synfig::Color::get_y().
| bool luma_less_than | ( | const PaletteItem & | lhs, |
| const float & | rhs | ||
| ) |
References synfig::PaletteItem::color, and synfig::Color::get_y().
1.8.1.2