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

List of all members.

Public Member Functions

 ScreenColor (unsigned int color)
 ScreenColor (int r, int g, int b, int a)
 ScreenColor (double r, double g, double b, double a)
void gray (int g, int a=0xffff)
 Set colors to represent a gray, range [0..65535].
void rgb (int r, int g, int b, int a=0xffff)
 Set colors to represent an rgb color.
void cmyk (int c, int m, int y, int k, int a=0xffff)
 Set colors to represent a cmyk color.
void grayf (double g, double a=1.0)
 Set colors to represent a gray, range [0..65535].
void rgbf (double r, double g, double b, double a=1.0)
 Set colors to represent an rgb color.
void cmykf (double c, double m, double y, double k, double a=1.0)
 Set colors to represent a cmyk color.
unsigned long Pixel ()
int equals (ScreenColor &color)
int equals (double r, double g, double b, double a)

Public Attributes

int red
int green
int blue
int alpha
char pixel_is_synced
long pixel

Detailed Description

Fields are range [0..65535].


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

Mon Feb 17 2014 11:53:00, Laxkit