Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Defines | Functions

color.cpp File Reference

#include <math.h>
#include "color.h"
#include "svg/svg-icc-color.h"
#include "svg/svg-color.h"
#include "svg/css-ostringstream.h"
Include dependency graph for color.cpp:

Go to the source code of this file.

Defines

#define __SP_COLOR_C__
#define PROFILE_EPSILON   0.00000001

Functions

float hue_2_rgb (float v1, float v2, float h)
static bool profileMatches (SVGICCColor const *first, SVGICCColor const *second)
void sp_color_cmyk_to_rgb_floatv (float *rgb, float c, float m, float y, float k)
void sp_color_get_cmyk_floatv (SPColor const *color, float *cmyk)
void sp_color_get_rgb_floatv (SPColor const *color, float *rgb)
void sp_color_hsl_to_rgb_floatv (float *rgb, float h, float s, float l)
void sp_color_hsv_to_rgb_floatv (float *rgb, float h, float s, float v)
void sp_color_rgb_to_cmyk_floatv (float *cmyk, float r, float g, float b)
void sp_color_rgb_to_hsl_floatv (float *hsl, float r, float g, float b)
void sp_color_rgb_to_hsv_floatv (float *hsv, float r, float g, float b)

Detailed Description

Colors.

Author: Lauris Kaplinski <lauris@kaplinski.com> bulia byak <buliabyak@users.sf.net> Jon A. Cruz <jon@joncruz.org>

Copyright (C) 2001-2002 Lauris Kaplinski Copyright (C) 2001 Ximian, Inc.

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file color.cpp.


Generated by  Doxygen 1.6.0   Back to index