synfig-studio  1.0.3
Classes | Functions
brushlib Namespace Reference

Classes

class  Brush
struct  Rect
class  Mapping
class  Surface
class  ActiveSurface
class  SurfaceWrapper

Functions

void ExpandRectToIncludePoint (Rect *r, int x, int y)
float rand_gauss (GRand *rng)
void rgb_to_hsv_float (float *r_, float *g_, float *b_)
void hsv_to_rgb_float (float *h_, float *s_, float *v_)
void rgb_to_hsl_float (float *r_, float *g_, float *b_)
static double hsl_value (gdouble n1, gdouble n2, gdouble hue)
void hsl_to_rgb_float (float *h_, float *s_, float *l_)

Function Documentation

void brushlib::ExpandRectToIncludePoint ( Rect *  r,
int  x,
int  y 
)
float brushlib::rand_gauss ( GRand *  rng)
void brushlib::rgb_to_hsv_float ( float *  r_,
float *  g_,
float *  b_ 
)

References MAX3, and MIN3.

void brushlib::hsv_to_rgb_float ( float *  h_,
float *  s_,
float *  v_ 
)
void brushlib::rgb_to_hsl_float ( float *  r_,
float *  g_,
float *  b_ 
)

References MAX3, and MIN3.

static double brushlib::hsl_value ( gdouble  n1,
gdouble  n2,
gdouble  hue 
)
static

Referenced by hsl_to_rgb_float().

void brushlib::hsl_to_rgb_float ( float *  h_,
float *  s_,
float *  l_ 
)

gimp_hsl_to_rgb: : A color value in the HSL colorspace : The value converted to a value in the RGB colorspace

Convert a HSL color value to an RGB color value.

References hsl_value().