libSmarties  1.3.1
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros
Functions | Variables
SmartiesColors.cpp File Reference
#include "config.h"
#include "SmartiesColors.h"

Functions

std::vector< uint32_t > scolors (arr, arr+sizeof(arr)/sizeof(arr[0]))
 
uint32_t getSmartieIntRGBColor (int id)
 
void getSmartieFloatRGBColor (int id, float *r, float *g, float *b)
 
void getSmartieInt3RGBColor (int id, int *r, int *g, int *b)
 

Variables

static const uint32_t arr []
 

Function Documentation

void getSmartieFloatRGBColor ( int  id,
float *  r,
float *  g,
float *  b 
)
void getSmartieInt3RGBColor ( int  id,
int *  r,
int *  g,
int *  b 
)
uint32_t getSmartieIntRGBColor ( int  id)
std::vector<uint32_t > scolors ( arr  ,
arr sizeofarr)/sizeof(arr[0] 
)

Variable Documentation

const uint32_t arr[]
static
Initial value:
=
{
0xFF9900,
0x91FF00,
0x00F7FF,
0xFF0000,
0xFF00AA,
0x9100FF,
0x1100FF,
0x00CCFF,
0x00FF4D,
0xDDFF00
}