opdrbrsh.h File Reference

(r1785/r1273)

#include "opfree.h"
#include "brshcomp.h"
#include "brpress.h"

Go to the source code of this file.

Classes

class  OpDrawBrush
 Draws a freehand stroke, smooths it and applies a nice brush effect. More...
class  OpChangeBrush
 base class for operations to change various features of the brush More...
class  ChangeBrushOpParam
 The param passed to OpChangeBrush::DoWithParam. More...
class  ChangeBrushAction
 An action which changes one of the members of a brush attribute. More...
class  RemoveTimeStampPointsAction
 An action which removes points from the timestamping list of a BrushAttValue. More...
class  AddTimeStampPointsAction
 An action which adds points to the timestamping list of a BrushAttValue. More...
class  UpdateBrushAction
 An action which signals to a brush attribute that its ink node hsa changed. It is appropriate to call this action when serious adjustments have been made to the timestamping points list of the attrbrushtype, for instance adding or removing subsets of the list. It is not appropriate to call it when the coordinates of the path have changed but you do not wish to add or remove any points from the list. More...
class  SetTimeStampUpdateTypeAction
 The purpose of this action is to set a flag that determines what happens when the brushed nodepath calls its timestamping brush attribute to update itself. Setting this flag to TRUE indicates that our path has changed so that our timestamping list coordinates are no longer on the line. Therefore we will reposition these points on the new line. Setting it to FALSE indicates that we have added or removed points from the timestamping list and should sort and reorder it to make sure it is ok. More...
class  RemovePressurePointsAction
 An action which removes points from the pressure data list of a BrushAttValue. More...
class  AddPressurePointsAction
 An action which adds points to the Pressure list of a BrushAttValue. More...

Defines

#define OPTOKEN_DRAWBRUSH   _T("DrawBrush")
#define OPTOKEN_CHANGEBRUSH   _T("ChangeBrush")
#define OPBRUSHPOINTSCACHE

Enumerations

enum  ChangeBrushType {
  CHANGEBRUSH_NONE, CHANGEBRUSH_SPACING, CHANGEBRUSH_SPACING_MAXRAND, CHANGEBRUSH_SPACING_RANDSEED,
  CHANGEBRUSH_SPACING_INCRPROP, CHANGEBRUSH_SPACING_INCRCONST, CHANGEBRUSH_SCALING, CHANGEBRUSH_SCALING_INCR,
  CHANGEBRUSH_SCALING_INCRCONST, CHANGEBRUSH_SCALING_MAXRAND, CHANGEBRUSH_SCALING_RANDSEED, CHANGEBRUSH_SCALING_PRESSURE,
  CHANGEBRUSH_OFFSET_TYPE, CHANGEBRUSH_OFFSET_TYPE_SEED, CHANGEBRUSH_OFFSET_VAL, CHANGEBRUSH_OFFSET_INCRPROP,
  CHANGEBRUSH_OFFSET_INCRCONST, CHANGEBRUSH_OFFSET_MAXRAND, CHANGEBRUSH_OFFSET_VALSEED, CHANGEBRUSH_OFFSET_SEEDS,
  CHANGEBRUSH_TILED, CHANGEBRUSH_TANGENTIAL, CHANGEBRUSH_ROTATE_ANGLE, CHANGEBRUSH_ROTATE_INCRPROP,
  CHANGEBRUSH_ROTATE_INCRCONST, CHANGEBRUSH_ROTATE_MAXRAND, CHANGEBRUSH_ROTATE_RANDSEED, CHANGEBRUSH_ROTATE_PRESSURE,
  CHANGEBRUSH_NAME, CHANGEBRUSH_USELOCALFILLCOL, CHANGEBRUSH_USELOCALTRANSP, CHANGEBRUSH_USENAMEDCOL,
  CHANGEBRUSH_REGEN, CHANGEBRUSH_SEQUENCE, CHANGEBRUSH_SEQUENCE_RANDSEED, CHANGEBRUSH_TIMESTAMP,
  CHANGEBRUSH_HUE_INCR, CHANGEBRUSH_HUE_MAXRAND, CHANGEBRUSH_FILL_SEEDS, CHANGEBRUSH_SAT_MAXRAND,
  CHANGEBRUSH_SAT_RANDSEED, CHANGEBRUSH_TRANSP, CHANGEBRUSH_TRANSP_PRESSURE, CHANGEBRUSH_ALL
}


Define Documentation

#define OPBRUSHPOINTSCACHE
 

Definition at line 127 of file opdrbrsh.h.

#define OPTOKEN_CHANGEBRUSH   _T("ChangeBrush")
 

Definition at line 125 of file opdrbrsh.h.

#define OPTOKEN_DRAWBRUSH   _T("DrawBrush")
 

Definition at line 124 of file opdrbrsh.h.


Enumeration Type Documentation

enum ChangeBrushType
 

Enumerator:
CHANGEBRUSH_NONE 
CHANGEBRUSH_SPACING 
CHANGEBRUSH_SPACING_MAXRAND 
CHANGEBRUSH_SPACING_RANDSEED 
CHANGEBRUSH_SPACING_INCRPROP 
CHANGEBRUSH_SPACING_INCRCONST 
CHANGEBRUSH_SCALING 
CHANGEBRUSH_SCALING_INCR 
CHANGEBRUSH_SCALING_INCRCONST 
CHANGEBRUSH_SCALING_MAXRAND 
CHANGEBRUSH_SCALING_RANDSEED 
CHANGEBRUSH_SCALING_PRESSURE 
CHANGEBRUSH_OFFSET_TYPE 
CHANGEBRUSH_OFFSET_TYPE_SEED 
CHANGEBRUSH_OFFSET_VAL 
CHANGEBRUSH_OFFSET_INCRPROP 
CHANGEBRUSH_OFFSET_INCRCONST 
CHANGEBRUSH_OFFSET_MAXRAND 
CHANGEBRUSH_OFFSET_VALSEED 
CHANGEBRUSH_OFFSET_SEEDS 
CHANGEBRUSH_TILED 
CHANGEBRUSH_TANGENTIAL 
CHANGEBRUSH_ROTATE_ANGLE 
CHANGEBRUSH_ROTATE_INCRPROP 
CHANGEBRUSH_ROTATE_INCRCONST 
CHANGEBRUSH_ROTATE_MAXRAND 
CHANGEBRUSH_ROTATE_RANDSEED 
CHANGEBRUSH_ROTATE_PRESSURE 
CHANGEBRUSH_NAME 
CHANGEBRUSH_USELOCALFILLCOL 
CHANGEBRUSH_USELOCALTRANSP 
CHANGEBRUSH_USENAMEDCOL 
CHANGEBRUSH_REGEN 
CHANGEBRUSH_SEQUENCE 
CHANGEBRUSH_SEQUENCE_RANDSEED 
CHANGEBRUSH_TIMESTAMP 
CHANGEBRUSH_HUE_INCR 
CHANGEBRUSH_HUE_MAXRAND 
CHANGEBRUSH_FILL_SEEDS 
CHANGEBRUSH_SAT_MAXRAND 
CHANGEBRUSH_SAT_RANDSEED 
CHANGEBRUSH_TRANSP 
CHANGEBRUSH_TRANSP_PRESSURE 
CHANGEBRUSH_ALL 

Definition at line 288 of file opdrbrsh.h.


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