7 struct GUITextureElement;
19 vector<DXUT_SCREEN_VERTEX> vertices;
20 D3DPRIMITIVETYPE PrimitiveType;
35 void Undo(
int nStep=1);
37 void Redo(
int nStep=1);
51 void AddLines(
const Vector3 *points,
int nNumPoints,
const CGDIPen &pen);
69 void AddClear(
const Color &color);
94 void UpdateVertices(
int nOption=0);
99 void AddOperation(
const GDIPathElement *pElement,byte operationtype);
105 const CGDIRegion* GetClip()
const{
return &m_region;}
109 vector<GDIPathElement>::iterator
PathBegin(){
return m_elements.begin();}
110 vector<GDIPathElement>::iterator PathEnd(){
return m_elements.end();}
114 list<GDIFigure>::iterator
FigureBegin(){
return m_figures.begin();}
115 list<GDIFigure>::iterator FigureEnd(){
return m_figures.end();}
117 void ClearFigures(){m_figures.clear();m_bNeedUpdate=
true;}
118 void CalculateLineVertex(
const Vector3 *points,
int nNumPoints, vector<DXUT_SCREEN_VERTEX> &vertices,
const CGDIPen &pPen);
119 void CalculateRectVertex(
const Vector3 *points,
int nNumPoints, vector<DXUT_SCREEN_VERTEX> &vertices,
const CGDIPen &pPen);
120 void UpdateFigures(
const GDIPathElement *pElement, D3DPRIMITIVETYPE PrimitiveType,
const vector<DXUT_SCREEN_VERTEX> &vertices,
const Matrix4 *matTransform,
int nOption = 0,
int index = 0);
121 vector<GDIPathElement> m_elements;
122 list<GDIFigure> m_figures;
123 LPDIRECT3DVERTEXBUFFER9 m_pVB;
vector< GDIPathElement >::iterator PathBegin()
The following two are for iteration of the GDIPathElement.
Definition: GDIGraphicsPath.h:109
list< GDIFigure >::iterator FigureBegin()
The following two are for iteration of the GDIFigure.
Definition: GDIGraphicsPath.h:114
Definition: GDIGraphicsPath.h:25
different physics engine has different winding order.
Definition: EventBinding.h:32
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
Definition: GDIGraphicsPath.h:8
Class encapsulating a standard 4x4 homogeneous matrix.
Definition: ParaMatrix4.h:23
a pen object in the GDI class
Definition: GDIPen.h:9
We always shape the region points and edges in clockwise.
Definition: GDIRegion.h:29
Definition: ParaColor.h:275
int GetPointCount() const
Get the number of points in the path.
Definition: GDIGraphicsPath.h:64