brshcomp.h File Reference

(r1785/r1282)

#include "linecomp.h"

Go to the source code of this file.

Classes

class  BrushDefinition
 Stores a vector Brush definition A static list of these items is held in the BrushComponent. More...
class  BrushComponentClass
 The class that gets a Brush doc component going on start up We need to register our class as a document component and this is where we do it all. More...
class  BrushComponent
 A document component for handling Brush definitions. More...

Defines

#define MAX_ANGLE   2*PI;
#define MIN_ANGLE   -2*PI;

Typedefs

typedef UINT32 BrushHandle
 A BrushHandle is a unique reference to a vector Brush in the BrushComponent. All references to Brushs are done via BrushHandles, which allows us to delete & relocate Brushs without worrying about leaving lots of pointers to them lying about and causing havoc.

Enumerations

enum  ListUpdateType {
  UPDATE_NONE, UPDATE_LIST, UPDATE_PROPORTION, UPDATE_POSITION,
  UPDATE_LISTANDPOSITION
}
enum  PathOffset {
  OFFSET_NONE, OFFSET_ALTERNATE, OFFSET_LEFT, OFFSET_RIGHT,
  OFFSET_RANDOM
}
enum  SequenceType { SEQ_FORWARD, SEQ_BACKWARD, SEQ_MIRROR, SEQ_RANDOM }

Variables

const MILLIPOINT MIN_BRUSH_SPACING = 1000
const MILLIPOINT MAX_BRUSH_SPACING = 432000
const MILLIPOINT MAX_BRUSH_OFFSET = 216000
const MILLIPOINT DEFAULT_BRUSH_SPACING = 10000
const double MIN_BRUSH_SCALE = 0.005
const double MAX_BRUSH_SCALE = 20
const UINT32 MAX_BRUSH_OBJECTS = 50
const UINT32 MIN_BRUSH_RAND = 0
const UINT32 MAX_BRUSH_RAND = 100
const UINT32 OFFSETTYPE_LEFT = 1
const UINT32 OFFSETTYPE_RIGHT = 2
const UINT32 OFFSETTYPE_CENTRE = 3
const double MAX_TIMESTAMP = 5000
const double MIN_TIMESTAMP = 2
const double MAX_ANGLE_DEG = 360
const double MIN_ANGLE_DEG = -360
const UINT32 MAX_PRESSURE_EFFECT = 100
const UINT32 MIN_PRESSURE_EFFECT = 0
const MILLIPOINT MAX_BRUSH_SIZE = 432000
const UINT32 BRUSHFILE_NONE = 9999
const BrushHandle BrushHandle_NoBrush = 0xffffffff


Define Documentation

#define MAX_ANGLE   2*PI;
 

Definition at line 158 of file brshcomp.h.

#define MIN_ANGLE   -2*PI;
 

Definition at line 159 of file brshcomp.h.


Typedef Documentation

typedef UINT32 BrushHandle
 

A BrushHandle is a unique reference to a vector Brush in the BrushComponent. All references to Brushs are done via BrushHandles, which allows us to delete & relocate Brushs without worrying about leaving lots of pointers to them lying about and causing havoc.

Author:
Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/99
The special handle BrushHandle_NoBrush is used for illegal handles and returning error states.

See also:
BrushComponent; BrushDefinition

Definition at line 186 of file brshcomp.h.


Enumeration Type Documentation

enum ListUpdateType
 

Enumerator:
UPDATE_NONE 
UPDATE_LIST 
UPDATE_PROPORTION 
UPDATE_POSITION 
UPDATE_LISTANDPOSITION 

Definition at line 118 of file brshcomp.h.

00119 {
00120     UPDATE_NONE,
00121     UPDATE_LIST,
00122     UPDATE_PROPORTION,
00123     UPDATE_POSITION,
00124     UPDATE_LISTANDPOSITION
00125 };

enum PathOffset
 

Enumerator:
OFFSET_NONE 
OFFSET_ALTERNATE 
OFFSET_LEFT 
OFFSET_RIGHT 
OFFSET_RANDOM 

Definition at line 130 of file brshcomp.h.

00130                 {OFFSET_NONE,
00131                  OFFSET_ALTERNATE,
00132                  OFFSET_LEFT,
00133                  OFFSET_RIGHT,
00134                  OFFSET_RANDOM,
00135                  };

enum SequenceType
 

Enumerator:
SEQ_FORWARD 
SEQ_BACKWARD 
SEQ_MIRROR 
SEQ_RANDOM 

Definition at line 138 of file brshcomp.h.

00138                   { SEQ_FORWARD,
00139                     SEQ_BACKWARD,
00140                     SEQ_MIRROR,
00141                     SEQ_RANDOM};


Variable Documentation

const UINT32 BRUSHFILE_NONE = 9999
 

Definition at line 165 of file brshcomp.h.

const BrushHandle BrushHandle_NoBrush = 0xffffffff
 

Definition at line 188 of file brshcomp.h.

const MILLIPOINT DEFAULT_BRUSH_SPACING = 10000
 

Definition at line 147 of file brshcomp.h.

const double MAX_ANGLE_DEG = 360
 

Definition at line 160 of file brshcomp.h.

const UINT32 MAX_BRUSH_OBJECTS = 50
 

Definition at line 150 of file brshcomp.h.

const MILLIPOINT MAX_BRUSH_OFFSET = 216000
 

Definition at line 146 of file brshcomp.h.

const UINT32 MAX_BRUSH_RAND = 100
 

Definition at line 152 of file brshcomp.h.

const double MAX_BRUSH_SCALE = 20
 

Definition at line 149 of file brshcomp.h.

const MILLIPOINT MAX_BRUSH_SIZE = 432000
 

Definition at line 164 of file brshcomp.h.

const MILLIPOINT MAX_BRUSH_SPACING = 432000
 

Definition at line 145 of file brshcomp.h.

const UINT32 MAX_PRESSURE_EFFECT = 100
 

Definition at line 162 of file brshcomp.h.

const double MAX_TIMESTAMP = 5000
 

Definition at line 156 of file brshcomp.h.

const double MIN_ANGLE_DEG = -360
 

Definition at line 161 of file brshcomp.h.

const UINT32 MIN_BRUSH_RAND = 0
 

Definition at line 151 of file brshcomp.h.

const double MIN_BRUSH_SCALE = 0.005
 

Definition at line 148 of file brshcomp.h.

const MILLIPOINT MIN_BRUSH_SPACING = 1000
 

Definition at line 144 of file brshcomp.h.

const UINT32 MIN_PRESSURE_EFFECT = 0
 

Definition at line 163 of file brshcomp.h.

const double MIN_TIMESTAMP = 2
 

Definition at line 157 of file brshcomp.h.

const UINT32 OFFSETTYPE_CENTRE = 3
 

Definition at line 155 of file brshcomp.h.

const UINT32 OFFSETTYPE_LEFT = 1
 

Definition at line 153 of file brshcomp.h.

const UINT32 OFFSETTYPE_RIGHT = 2
 

Definition at line 154 of file brshcomp.h.


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