Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::SimpleColorEventData Class Reference

Class to pass simple rgb, gray, or cmyk colors. More...

Inheritance diagram for Laxkit::SimpleColorEventData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SimpleColorEventData (int nmax, int gray, int a, int nid)
 SimpleColorEventData (int nmax, int r, int g, int b, int a, int nid)
 SimpleColorEventData (int nmax, int c, int m, int y, int k, int a, int nid)
- Public Member Functions inherited from Laxkit::EventData
 EventData (const char *message, unsigned long fromwindow=0, unsigned long towindow=0)
 EventData (int message, unsigned long fromwindow=0, unsigned long towindow=0)

Public Attributes

int numchannels
intchannels
int max
int colortype
int id
- Public Attributes inherited from Laxkit::EventData
unsigned long type
unsigned long subtype
charsend_message
unsigned long from
unsigned long to
int propagate
clock_t send_time
unsigned long xlib_time
EventDatanext

Detailed Description

Class to pass simple rgb, gray, or cmyk colors.

You can use simple_cmyk_to_rgb() and simple_rgb_to_cmyk() to do some simple conversions.


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

Mon Feb 17 2014 11:52:59, Laxkit