Logo Search packages:      
Sourcecode: inkscape version File versions

SPColor Struct Reference

#include <color.h>

List of all members.

Detailed Description

An RGB color with optional icc-color part

Definition at line 41 of file color.h.

Public Member Functions

bool isClose (SPColor const &other, float epsilon) const
SPColoroperator= (SPColor const &other)
bool operator== (SPColor const &other) const
void set (guint32 value)
void set (float r, float g, float b)
 SPColor (guint32 value)
 SPColor (float r, float g, float b)
 SPColor (SPColor const &other)
guint32 toRGBA32 (gdouble alpha) const
guint32 toRGBA32 (gint alpha) const
std::string toString () const

Public Attributes

union {
   float   c [3]

The documentation for this struct was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index