BrushPointInfo Class Reference

to store information about brush objects, including pressure More...

#include <brpress.h>

Inheritance diagram for BrushPointInfo:

CPathPointInfo TimeStampBrushPoint List of all members.

Public Member Functions

 BrushPointInfo ()
 Default Constuctor for BrushPointInfo.
 BrushPointInfo (DocCoord Point, double Tangent, UINT32 Pressure)
 initialising Constuctor for BrushPointInfo
BrushPointInfooperator= (BrushPointInfo &Other)
 initialising Constuctor for BrushPointInfo

Public Attributes

UINT32 m_Pressure

Detailed Description

to store information about brush objects, including pressure

Author:
Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
Date:
7/1/97
Notes: This class inherits coordinate and tangent data from CPathPointInfo This is a pretty fast and loose implementation but so it the parent and i didn't write that.

Definition at line 179 of file brpress.h.


Constructor & Destructor Documentation

BrushPointInfo::BrushPointInfo  ) 
 

Default Constuctor for BrushPointInfo.

Author:
Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/99
Parameters:
- [INPUTS]

Definition at line 244 of file brpress.cpp.

00245 {
00246     m_Pressure = MAXPRESSURE / 2;
00247     m_Tangent = 0.0;
00248     m_Point = DocCoord(0, 0);
00249 }

BrushPointInfo::BrushPointInfo DocCoord  Point,
double  Tangent,
UINT32  Pressure
 

initialising Constuctor for BrushPointInfo

Author:
Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/99
Parameters:
- [INPUTS]

Definition at line 264 of file brpress.cpp.

00265 {
00266     m_Point = Point;
00267     m_Tangent = Tangent;
00268     m_Pressure = Pressure;
00269 }


Member Function Documentation

BrushPointInfo & BrushPointInfo::operator= BrushPointInfo Other  ) 
 

initialising Constuctor for BrushPointInfo

Author:
Diccon_Yamanaka (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/12/99
Parameters:
- [INPUTS]

Definition at line 284 of file brpress.cpp.

00285 {
00286     m_Point = Other.m_Point;
00287     m_Tangent = Other.m_Tangent;
00288     m_Pressure = Other.m_Pressure;
00289 
00290     return *(this);
00291 }


Member Data Documentation

UINT32 BrushPointInfo::m_Pressure
 

Definition at line 189 of file brpress.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:51:41 2007 for Camelot by  doxygen 1.4.4