brushdlg.cpp File Reference

(r1785/r1732)

#include "camtypes.h"
#include "brushdlg.h"
#include "dlgmgr.h"
#include "brshattr.h"
#include "brshdata.h"
#include "ppbrush.h"
#include "optsmsgs.h"
#include "qualattr.h"
#include "ccdc.h"
#include "brushop.h"
#include "brushmsg.h"
#include "opbevel.h"
#include "freeinfo.h"
#include "sgline.h"
#include "freehand.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW

Functions

 DECLARE_SOURCE ("$Revision: 1732 $")
 CC_IMPLEMENT_DYNCREATE (CBrushEditDlg, DialogTabOp) const INT32 MinSpacingSlider=0

Variables

const INT32 MaxSpacingSlider = 99
const INT32 MinOffsetSlider = 0
const INT32 MaxOffsetSlider = 100
const INT32 MinScalingSlider = 0
const INT32 MaxScalingSlider = 99
const INT32 MinMultiSlider = 90
const INT32 MaxMultiSlider = 110
const INT32 MinScalingIncrSlider = -50
const INT32 MaxScalingIncrSlider = 50
const double DefaultRotationAngle = 0
const INT32 MIN_ROTATION_SLIDER = 0
const INT32 MAX_ROTATION_SLIDER = 360
const INT32 MIN_ROTATION_INCR_SLIDER = -180
const INT32 MAX_ROTATION_INCR_SLIDER = 180
const INT32 MAX_ROTATION_RANDOM_SLIDER = 360
const INT32 MIN_RANDOM_SLIDER = 0
const INT32 MAX_RANDOM_SLIDER = 100
const INT32 MAX_RANDOM_SAT_SLIDER = 100
const INT32 MAX_RANDOM_HUE_SLIDER = 360
const INT32 MIN_SPACING_INCR = -10
const INT32 MAX_SPACING_INCR = 10
const INT32 MIN_PRESSURE_SLIDER = 0
const INT32 MAX_PRESSURE_SLIDER = 100
const INT32 MAXSPACINGMULTIPLIER = 5
const INT32 MAXOFFSETMULTIPLIER = 3
const INT32 MIN_TRANSP_SLIDER = 0
const INT32 MAX_TRANSP_SLIDER = 200
const double ExpFactor = 1.6
const double InvFactor = 1/ExpFactor
const double MinSliderSpacing = 75
const double MinOffset = 0
const double MaxOffset = 300
static CGadgetID BrushSpacingGadgetIDs []
static INT32 NumberOfBrushSpacingGadgets = sizeof (BrushSpacingGadgetIDs) / sizeof (CGadgetID)
static CGadgetID BrushOffsetGadgetIDs []
static INT32 NumberOfBrushOffsetGadgets = sizeof (BrushOffsetGadgetIDs) / sizeof (CGadgetID)
static CGadgetID BrushScalingGadgetIDs []
static INT32 NumberOfBrushScalingGadgets = sizeof (BrushScalingGadgetIDs) / sizeof (CGadgetID)
static CGadgetID BrushEffectsGadgetIDs []
static INT32 NumberOfBrushEffectsGadgets = sizeof (BrushEffectsGadgetIDs) / sizeof (CGadgetID)
static CGadgetID BrushSequenceGadgetIDs []
static INT32 NumberOfBrushSequenceGadgets = sizeof (BrushSequenceGadgetIDs) / sizeof (CGadgetID)
static CGadgetID BrushFillGadgetIDs []
static CGadgetID LocalFillRadioGadgets []
static INT32 NumberOfBrushFillGadgets = sizeof (BrushFillGadgetIDs) / sizeof (CGadgetID)
static INT32 NumberOfLocalFillRadios = sizeof (LocalFillRadioGadgets) / sizeof (CGadgetID)


Define Documentation

#define new   CAM_DEBUG_NEW
 

Definition at line 198 of file brushdlg.cpp.


Function Documentation

CC_IMPLEMENT_DYNCREATE CBrushEditDlg  ,
DialogTabOp 
const [pure virtual]
 

DECLARE_SOURCE "$Revision: 1732 $"   ) 
 


Variable Documentation

CGadgetID BrushEffectsGadgetIDs[] [static]
 

Initial value:

 {
                                                
                                                _R(IDC_CHECKROTATE),                 
                                                _R(IDC_EDITROTATEANGLE),              
                                                _R(IDC_EDITROTATEANGLEINCR),
                                                
                                                _R(IDC_BUTTONROTATEANGLERANDSEED),
                                                _R(IDC_SLIDERROTATEANGLEMAXRAND),
                                                _R(IDC_SLIDERROTATEANGLEINCR),
                                                _R(IDC_SLIDERROTATEANGLE),

                                                
                                                
                                            }

Definition at line 1484 of file brushdlg.cpp.

CGadgetID BrushFillGadgetIDs[] [static]
 

Initial value:

 {
                                            _R(IDC_CHECKTILEING),
                                            _R(IDC_RADIOLOCALFILLALL),
                                            _R(IDC_RADIOLOCALFILLNAMED), 
                                            _R(IDC_RADIOLOCALFILLNONE),
                                            _R(IDC_SLIDERHUERANDOM),
                                            _R(IDC_SLIDERSATURATIONRANDOM),
                                            _R(IDC_BUTTONBRUSHFILLRANDOM),

                                                 }

Definition at line 1582 of file brushdlg.cpp.

CGadgetID BrushOffsetGadgetIDs[] [static]
 

Initial value:

    {
                                                
                                                _R(IDC_EDITPATHOFFSETVALUE),         
                                                _R(IDC_EDITPATHOFFSETINCRCONST),     
                                                _R(IDC_SLIDEROFFSETVALUEMAXRAND),    
                                                _R(IDC_BUTTONOFFSETVALUERANDSEED),   
                                                _R(IDC_COMBOPATHOFFSETTYPE),         
                                                _R(IDC_STATICPATHOFFSETVALUE),       
                                            
                                                _R(IDC_STATICPATHOFFSETINCRCONST),   
                                                _R(IDC_STATICPATHOFFSETTYPE),        
                                                _R(IDC_STATICOFFSETVALUEMAXRAND),    
                                                _R(IDC_SLIDERPATHOFFSETVAL),

                                            
                                                
                                            }

Definition at line 1343 of file brushdlg.cpp.

CGadgetID BrushScalingGadgetIDs[] [static]
 

Initial value:

    {
                                                _R(IDC_EDITBRUSHSCALINGINCR),        
                                                _R(IDC_SLIDERBRUSHSCALINGMAXRAND),   
                                                _R(IDC_BUTTONBRUSHSCALINGRANDSEED),   
                                                
                                                _R(IDC_STATICBRUSHSCALINGINCR),      
                                                _R(IDC_STATICBRUSHSCALINGMAXRAND),   
                                                _R(IDC_SLIDERBRUSHSCALINGINCR),
                                                _R(IDC_SLIDERSCALINGINCRCONST),
                                                _R(IDC_EDITSCALINGINCRCONST),
                                                _R(IDC_STATICPERCENT),
                                                _R(IDC_STATICPERCENT2),

                                                
                                            }

Definition at line 1420 of file brushdlg.cpp.

CGadgetID BrushSequenceGadgetIDs[] [static]
 

Initial value:

 {
                                                _R(IDC_SLIDERTRANSP),
                                                _R(IDC_SLIDERTRANSPPRESSURE),
                                                _R(IDC_EDITBRUSHTRANSP),

                                            }

Definition at line 1549 of file brushdlg.cpp.

CGadgetID BrushSpacingGadgetIDs[] [static]
 

Initial value:

        {
                                                
                                                    _R(IDC_EDITBRUSHSPACING),            
                                            
                                                    _R(IDC_EDITBRUSHSPACINGINCRCONST),   
                                                    _R(IDC_SLIDERBRUSHSPACINGMAXRAND),   
                                                    _R(IDC_BUTTONBRUSHSPACINGRANDSEED),  
                                                    _R(IDC_STATICBRUSHSPACING),          
                                                    
                                                    _R(IDC_STATICBRUSHSPACINGINCRCONST), 
                                                    _R(IDC_STATICBRUSHSPACINGMAXRAND),   
                                                    _R(IDC_SLIDERBRUSHSPACINGMULT),
                                                    _R(IDC_SLIDERBRUSHSPACING1),
                                                    _R(IDC_SLIDERBRUSHSPACINGINCR), 
                                                    _R(IDC_STATICBRUSHSPACINGRAND1),
                                                    _R(IDC_COMBOSEQUENCETYPE),           
                                                }

Definition at line 1285 of file brushdlg.cpp.

const double DefaultRotationAngle = 0
 

Definition at line 167 of file brushdlg.cpp.

const double ExpFactor = 1.6
 

Definition at line 186 of file brushdlg.cpp.

const double InvFactor = 1/ExpFactor
 

Definition at line 187 of file brushdlg.cpp.

CGadgetID LocalFillRadioGadgets[] [static]
 

Initial value:

 {
                                                _R(IDC_RADIOLOCALFILLALL),
                                                _R(IDC_RADIOLOCALFILLNAMED), 
                                                _R(IDC_RADIOLOCALFILLNONE),
                                                0
                                            }

Definition at line 1593 of file brushdlg.cpp.

const INT32 MAX_PRESSURE_SLIDER = 100
 

Definition at line 181 of file brushdlg.cpp.

const INT32 MAX_RANDOM_HUE_SLIDER = 360
 

Definition at line 177 of file brushdlg.cpp.

const INT32 MAX_RANDOM_SAT_SLIDER = 100
 

Definition at line 176 of file brushdlg.cpp.

const INT32 MAX_RANDOM_SLIDER = 100
 

Definition at line 175 of file brushdlg.cpp.

const INT32 MAX_ROTATION_INCR_SLIDER = 180
 

Definition at line 172 of file brushdlg.cpp.

const INT32 MAX_ROTATION_RANDOM_SLIDER = 360
 

Definition at line 173 of file brushdlg.cpp.

const INT32 MAX_ROTATION_SLIDER = 360
 

Definition at line 170 of file brushdlg.cpp.

const INT32 MAX_SPACING_INCR = 10
 

Definition at line 179 of file brushdlg.cpp.

const INT32 MAX_TRANSP_SLIDER = 200
 

Definition at line 185 of file brushdlg.cpp.

const INT32 MaxMultiSlider = 110
 

Definition at line 164 of file brushdlg.cpp.

const double MaxOffset = 300
 

Definition at line 195 of file brushdlg.cpp.

const INT32 MAXOFFSETMULTIPLIER = 3
 

Definition at line 183 of file brushdlg.cpp.

const INT32 MaxOffsetSlider = 100
 

Definition at line 160 of file brushdlg.cpp.

const INT32 MaxScalingIncrSlider = 50
 

Definition at line 166 of file brushdlg.cpp.

const INT32 MaxScalingSlider = 99
 

Definition at line 162 of file brushdlg.cpp.

const INT32 MAXSPACINGMULTIPLIER = 5
 

Definition at line 182 of file brushdlg.cpp.

const INT32 MaxSpacingSlider = 99
 

Definition at line 158 of file brushdlg.cpp.

const INT32 MIN_PRESSURE_SLIDER = 0
 

Definition at line 180 of file brushdlg.cpp.

const INT32 MIN_RANDOM_SLIDER = 0
 

Definition at line 174 of file brushdlg.cpp.

const INT32 MIN_ROTATION_INCR_SLIDER = -180
 

Definition at line 171 of file brushdlg.cpp.

const INT32 MIN_ROTATION_SLIDER = 0
 

Definition at line 169 of file brushdlg.cpp.

const INT32 MIN_SPACING_INCR = -10
 

Definition at line 178 of file brushdlg.cpp.

const INT32 MIN_TRANSP_SLIDER = 0
 

Definition at line 184 of file brushdlg.cpp.

const INT32 MinMultiSlider = 90
 

Definition at line 163 of file brushdlg.cpp.

const double MinOffset = 0
 

Definition at line 194 of file brushdlg.cpp.

const INT32 MinOffsetSlider = 0
 

Definition at line 159 of file brushdlg.cpp.

const INT32 MinScalingIncrSlider = -50
 

Definition at line 165 of file brushdlg.cpp.

const INT32 MinScalingSlider = 0
 

Definition at line 161 of file brushdlg.cpp.

const double MinSliderSpacing = 75
 

Definition at line 191 of file brushdlg.cpp.

INT32 NumberOfBrushEffectsGadgets = sizeof (BrushEffectsGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1499 of file brushdlg.cpp.

INT32 NumberOfBrushFillGadgets = sizeof (BrushFillGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1600 of file brushdlg.cpp.

INT32 NumberOfBrushOffsetGadgets = sizeof (BrushOffsetGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1361 of file brushdlg.cpp.

INT32 NumberOfBrushScalingGadgets = sizeof (BrushScalingGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1436 of file brushdlg.cpp.

INT32 NumberOfBrushSequenceGadgets = sizeof (BrushSequenceGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1557 of file brushdlg.cpp.

INT32 NumberOfBrushSpacingGadgets = sizeof (BrushSpacingGadgetIDs) / sizeof (CGadgetID) [static]
 

Definition at line 1303 of file brushdlg.cpp.

INT32 NumberOfLocalFillRadios = sizeof (LocalFillRadioGadgets) / sizeof (CGadgetID) [static]
 

Definition at line 1601 of file brushdlg.cpp.


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