Logo Search packages:      
Sourcecode: inkscape version File versions

svg-color.cpp File Reference

Detailed Description

Reading & writing of SVG/CSS colors.

Definition in file svg-color.cpp.

#include "prefs-utils.h"
#include "svg-color.h"
#include "svg-icc-color.h"
#include <cassert>
#include <math.h>
#include <glib/gmem.h>
#include <glib/gmessages.h>
#include <glib/gstrfuncs.h>
#include <glib/ghash.h>
#include <glib/gutils.h>
#include <cstdio>
#include <errno.h>
#include "strneq.h"

Go to the source code of this file.


struct  SPSVGColor


static guint32 internal_sp_svg_read_color (gchar const *str, gchar const **end_ptr, guint32 def)
static void rgb24_to_css (char *const buf, unsigned const rgb24)
static GHashTable * sp_svg_create_color_hash ()
guint32 sp_svg_read_color (gchar const *str, gchar const **end_ptr, guint32 dfl)
guint32 sp_svg_read_color (gchar const *str, guint32 const dfl)
bool sp_svg_read_icc_color (gchar const *str, gchar const **end_ptr, SVGICCColor *dest)
void sp_svg_write_color (gchar *buf, unsigned const buflen, guint32 const rgba32)


static SPSVGColor const sp_svg_color_named []

Generated by  Doxygen 1.6.0   Back to index