IndexedColourInfo Struct Reference

#include <colourix.h>

List of all members.

Public Attributes

UINT32 OCContextHandle: 16
UINT32 SourceColourModel: 4
UINT32 CacheColourModel: 4
UINT32 InheritComponent1: 1
UINT32 InheritComponent2: 1
UINT32 InheritComponent3: 1
UINT32 InheritComponent4: 1
UINT32 Deleted: 1
UINT32 ColourType: 2
UINT32 IsNamed: 1


Detailed Description

Comment: Each IndexedColour has an information bitfield in its 'Info' data member. This provides storage for many bits of useful information. Note that the structure has been designed to align the bits nicely into 8/16 bit portions to make life easier for compilers when extracting values.

Information is held on colour model of source and cached colour definitions, the cache status and output context handle, inheritance in linked colours, colour type (normal/spot/tint(shade)/linked), and whether a colour is 'deleted' (hidden in an undo record).

There is a Reserved field, in which the spare bit(s) are retained. There is currently only 1 spare bit.

A similar field is used in DocColours

See also:
IndexedColour; DocColour

Definition at line 134 of file colourix.h.


Member Data Documentation

UINT32 IndexedColourInfo::CacheColourModel
 

Definition at line 138 of file colourix.h.

UINT32 IndexedColourInfo::ColourType
 

Definition at line 147 of file colourix.h.

UINT32 IndexedColourInfo::Deleted
 

Definition at line 145 of file colourix.h.

UINT32 IndexedColourInfo::InheritComponent1
 

Definition at line 140 of file colourix.h.

UINT32 IndexedColourInfo::InheritComponent2
 

Definition at line 141 of file colourix.h.

UINT32 IndexedColourInfo::InheritComponent3
 

Definition at line 142 of file colourix.h.

UINT32 IndexedColourInfo::InheritComponent4
 

Definition at line 143 of file colourix.h.

UINT32 IndexedColourInfo::IsNamed
 

Definition at line 149 of file colourix.h.

UINT32 IndexedColourInfo::OCContextHandle
 

Definition at line 136 of file colourix.h.

UINT32 IndexedColourInfo::SourceColourModel
 

Definition at line 137 of file colourix.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 10 03:55:27 2007 for Camelot by  doxygen 1.4.4