colcontx.h File Reference

(r1785/r1282)

Go to the source code of this file.

Classes

class  ColourContext
class  ColourContextList
 Defines a list of colour contexts, as must be kept on a global basis. This is a perfectly normal list, except it has a special function to add a ColourContext item to the list, which ensures that no duplicate colour contexts are ever used, and that the usage count for any shared context is properly updated. More...
class  ColourContextRGBT
 Object class representing colour contexts based upon the RGBT colour model (Red, Green, Blue, Transparent). More...
class  ColourContextWebRGBT
 This class inherits from class ColourContextRGBT, and although (at the moment) does not add any new functionality - provides us with an appropriate way of allowing us to edit RGBT in hexadecimal (i.e. rrggbb or 0xrrggbb web format). Reasons for this are: 1) so that I did NOT have to keep copying and pasting code for all the places that a colour model combobox appears. 2) allow us to integrate correctly with the edit dialog (thereby not doing 2). 3) make the addition of subsequent ColourContexts easier (since you won't have to worry about this class at all); and 4) cause I felft like it. More...
class  ColourContextCMYK
 Object class representing colour contexts based upon the CMYK colour model (Cyan, Magenta, Yellow, Key). More...
class  ColourContextHSVT
 Object class representing colour contexts based upon the HSVT colour model (Red, Green, Blue, Transparent). More...
class  ColourContextGreyT
 Object class representing colour contexts based upon the GreyT colour model (Greyscale intensity, Transparent). More...

Defines

#define DISABLE_WEBRGBT   1

Typedefs

typedef UINT32 ColourContextHandle

Variables

CCAPI ColourContextRGBT
 This class defines a colour context. This is a description of the context in which a colour has been defined, including a colour model and extra information on special conversion transformations (e.g. for the RGB colour model, an extra conversion parameter is 'Gamma correction').
CCAPI ColourPlate


Define Documentation

#define DISABLE_WEBRGBT   1
 

Definition at line 122 of file colcontx.h.


Typedef Documentation

typedef UINT32 ColourContextHandle
 

Definition at line 133 of file colcontx.h.


Variable Documentation

class CCAPI ColourContextRGBT
 

This class defines a colour context. This is a description of the context in which a colour has been defined, including a colour model and extra information on special conversion transformations (e.g. for the RGB colour model, an extra conversion parameter is 'Gamma correction').

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/03/94
To use any Colour, the colour context in which it is defined must be available. A set of default colour contexts (one per available colour model) is kept globally, within each Camelot document, and for each Camelot View. (Actually, the document defaults are a bit defunct now).

To convert a colour to a different colour model, it is necessary to supply the colour context in which the colour is defined, plus a colour context describing the destination format (although in most cases the former is described implicitly)

Colour contexts make it possible to have several different instantiations of a colour model in use at once (e.g. RGB, RGB with gamma correction, and RGB for display of the Cyan plate of a CMYK separation), and are also used to allow caching of colours in output colour contexts in order to speed up time critical operations such as rendering.

See also:
Colour; ColourModel; ColourContextList; ColourPlate Documentation: HowToUse.doc

Definition at line 169 of file colcontx.h.

class CCAPI ColourPlate
 

Definition at line 170 of file colcontx.h.


Generated on Sat Nov 10 03:49:06 2007 for Camelot by  doxygen 1.4.4