synfig-core  1.0.3
Macros | Functions
palette.cpp File Reference

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)

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define PALETTE_SYNFIG_FILE_COOKIE   "SYNFIGPAL1.0"
#define PALETTE_SYNFIG_EXT   ".spal"
#define PALETTE_GIMP_FILE_COOKIE   "GIMP Palette"
#define PALETTE_GIMP_EXT   ".gpl"

Function Documentation

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 
)