Lines Matching defs:color
21 #include "color.h"
22 #include "svg/svg-icc-color.h"
23 #include "svg/svg-color.h"
138 * Sets RGB values and colorspace in color.
157 * Converts 32bit value to RGB floats and sets color.
184 * \pre color != NULL && 0 <= alpha <= 1
206 css << "icc-color(" << icc->colorProfile;
221 * \pre color != NULL && rgb != NULL && rgb[0-2] is meaningful
224 sp_color_get_rgb_floatv(SPColor const *color, float *rgb)
226 return_if_fail (color != NULL);
229 rgb[0] = color->v.c[0];
230 rgb[1] = color->v.c[1];
231 rgb[2] = color->v.c[2];
236 * \pre color != NULL && cmyk != NULL && cmyk[0-3] is meaningful
239 sp_color_get_cmyk_floatv(SPColor const *color, float *cmyk)
241 return_if_fail (color != NULL);
245 color->v.c[0],
246 color->v.c[1],
247 color->v.c[2] );