Public Member Functions |
virtual Color * | newColor (int n,...) |
| Return a new Color instance with the given channel values.
|
virtual int | AlphaChannel ()=0 |
| Return the channel index of the alpha channel, or -1 if none.
|
| anObject () |
| Set object_id=getUniqueNumber().
|
virtual | ~anObject () |
| Empty virtual destructor.
|
virtual const char * | whattype () |
| Returns the type of anObject.
|
virtual anObject * | duplicate (anObject *ref=NULL) |
virtual int | inc_count () |
| Increment the data's count by 1. Returns count.
|
virtual int | dec_count () |
| Decrement the count of the data, deleting if count is less than or equal to 0.
|
virtual int | the_count () |
virtual void | dump_out (FILE *f, int indent, int what, Laxkit::anObject *savecontext)=0 |
| what==0 means write out an Attribute formatted file.
|
virtual Attribute * | dump_out_atts (Attribute *att, int what, Laxkit::anObject *savecontext) |
| Default is return NULL. what==0 means write out normal Attribute formatted things.
|
virtual void | dump_in (FILE *f, int indent, int what, Laxkit::anObject *loadcontext, Attribute **att) |
| Read in a file segment as an Attribute, and pass parsing duties to dump_in_atts.
|
virtual void | dump_in_atts (Attribute *att, int flag, Laxkit::anObject *loadcontext)=0 |
| Read the Attribute and take away what it can.
|
virtual | ~DumpUtility () |
| Empty virtual destructor.
|
Defines a color system, like RGB, CMYK, etc.
#define COLOR_ADDITIVE (1<<0)
#define COLOR_SUBTRACTIVE (1<<1)
#define COLOR_SPOT (1<<2)
#define COLOR_ALPHAOK (1<<3)
#define COLOR_SPECIAL_INK (1<<4)