nsSVGGDIPlusPathGeometry Class Reference
[GDI+ Rendering Engine]

Inheritance diagram for nsSVGGDIPlusPathGeometry:

Inheritance graph
[legend]
Collaboration diagram for nsSVGGDIPlusPathGeometry:

Collaboration graph
[legend]
List of all members.

Detailed Description

GDI+ path geometry implementation

Definition at line 67 of file nsSVGGDIPlusPathGeometry.cpp.

Public Member Functions

Protected Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

nsSVGGDIPlusPathGeometry::nsSVGGDIPlusPathGeometry  )  [protected]
 

Definition at line 113 of file nsSVGGDIPlusPathGeometry.cpp.

nsSVGGDIPlusPathGeometry::~nsSVGGDIPlusPathGeometry  )  [protected]
 

Definition at line 118 of file nsSVGGDIPlusPathGeometry.cpp.

References ClearCoveredRegion(), ClearFill(), ClearHitTestRegion(), ClearPath(), and ClearStroke().


Member Function Documentation

nsresult nsSVGGDIPlusPathGeometry::Init nsISVGPathGeometrySource src  )  [protected]
 

Definition at line 127 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by NS_NewSVGGDIPlusPathGeometry().

virtual nsresult nsSVGGDIPlusPathGeometry::QueryInterface const nsIID &  aIID,
void **  aInstancePtr
[virtual]
 

nsrefcnt nsSVGGDIPlusPathGeometry::AddRef void   )  [virtual]
 

Definition at line 157 of file nsSVGGDIPlusPathGeometry.cpp.

nsrefcnt nsSVGGDIPlusPathGeometry::Release void   )  [virtual]
 

Definition at line 158 of file nsSVGGDIPlusPathGeometry.cpp.

nsresult nsSVGGDIPlusPathGeometry::Render nsISVGRendererCanvas canvas  )  [virtual]
 

Implements void render(in nsISVGRendererCanvas canvas);

Definition at line 370 of file nsSVGGDIPlusPathGeometry.cpp.

References GetFill(), GetStroke(), nscolor, nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR, and RenderPath().

nsresult nsSVGGDIPlusPathGeometry::Update PRUint32  updatemask,
nsISVGRendererRegion **  _retval
[virtual]
 

Implements nsISVGRendererRegion update(in unsigned long updatemask);

Definition at line 404 of file nsSVGGDIPlusPathGeometry.cpp.

References ClearCoveredRegion(), ClearFill(), ClearHitTestRegion(), ClearPath(), ClearStroke(), GetCoveredRegion(), nsISVGGeometrySource::UPDATEMASK_CTM, nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE, nsISVGGeometrySource::UPDATEMASK_FILL_RULE, nsISVGPathGeometrySource::UPDATEMASK_HITTEST_MASK, nsISVGGeometrySource::UPDATEMASK_NOTHING, nsISVGPathGeometrySource::UPDATEMASK_PATH, nsISVGGeometrySource::UPDATEMASK_STROKE_DASH_ARRAY, nsISVGGeometrySource::UPDATEMASK_STROKE_DASHOFFSET, nsISVGGeometrySource::UPDATEMASK_STROKE_LINECAP, nsISVGGeometrySource::UPDATEMASK_STROKE_LINEJOIN, nsISVGGeometrySource::UPDATEMASK_STROKE_MITERLIMIT, nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT_TYPE, and nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH.

nsresult nsSVGGDIPlusPathGeometry::GetCoveredRegion nsISVGRendererRegion **  _retval  )  [virtual]
 

Implements nsISVGRendererRegion getCoveredRegion();

Definition at line 464 of file nsSVGGDIPlusPathGeometry.cpp.

References GetFill(), GetStroke(), NS_NewSVGGDIPlusPathRegion(), and nsISVGGeometrySource::PAINT_TYPE_NONE.

Referenced by Update().

nsresult nsSVGGDIPlusPathGeometry::ContainsPoint float  x,
float  y,
PRBool *  _retval
[virtual]
 

Implements boolean containsPoint(in float x, in float y);

Definition at line 505 of file nsSVGGDIPlusPathGeometry.cpp.

References GetHitTestRegion().

void nsSVGGDIPlusPathGeometry::ClearPath  )  [inline, protected]
 

Definition at line 85 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by Update(), and ~nsSVGGDIPlusPathGeometry().

void nsSVGGDIPlusPathGeometry::ClearFill  )  [inline, protected]
 

Definition at line 86 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by Update(), and ~nsSVGGDIPlusPathGeometry().

void nsSVGGDIPlusPathGeometry::ClearStroke  )  [inline, protected]
 

Definition at line 87 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by Update(), and ~nsSVGGDIPlusPathGeometry().

void nsSVGGDIPlusPathGeometry::ClearCoveredRegion  )  [inline, protected]
 

Definition at line 88 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by Update(), and ~nsSVGGDIPlusPathGeometry().

void nsSVGGDIPlusPathGeometry::ClearHitTestRegion  )  [inline, protected]
 

Definition at line 89 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by Update(), and ~nsSVGGDIPlusPathGeometry().

GraphicsPath * nsSVGGDIPlusPathGeometry::GetPath  )  [protected]
 

Definition at line 168 of file nsSVGGDIPlusPathGeometry.cpp.

References NS_NewSVGGDIPlusPathBuilder().

Referenced by GetFill(), and GetStroke().

GraphicsPath * nsSVGGDIPlusPathGeometry::GetFill  )  [protected]
 

Definition at line 180 of file nsSVGGDIPlusPathGeometry.cpp.

References GetGlobalTransform(), and GetPath().

Referenced by GetCoveredRegion(), GetHitTestRegion(), and Render().

GraphicsPath * nsSVGGDIPlusPathGeometry::GetStroke  )  [protected]
 

Definition at line 195 of file nsSVGGDIPlusPathGeometry.cpp.

References GetGlobalTransform(), GetPath(), nsISVGGeometrySource::STROKE_LINECAP_BUTT, nsISVGGeometrySource::STROKE_LINECAP_ROUND, nsISVGGeometrySource::STROKE_LINECAP_SQUARE, nsISVGGeometrySource::STROKE_LINEJOIN_BEVEL, nsISVGGeometrySource::STROKE_LINEJOIN_MITER, and nsISVGGeometrySource::STROKE_LINEJOIN_ROUND.

Referenced by GetCoveredRegion(), GetHitTestRegion(), and Render().

Region * nsSVGGDIPlusPathGeometry::GetHitTestRegion  )  [protected]
 

Definition at line 298 of file nsSVGGDIPlusPathGeometry.cpp.

References GetFill(), GetStroke(), nsISVGPathGeometrySource::HITTEST_MASK_FILL, and nsISVGPathGeometrySource::HITTEST_MASK_STROKE.

Referenced by ContainsPoint().

void nsSVGGDIPlusPathGeometry::GetGlobalTransform Matrix *  matrix  )  [protected]
 

Definition at line 328 of file nsSVGGDIPlusPathGeometry.cpp.

Referenced by GetFill(), and GetStroke().

void nsSVGGDIPlusPathGeometry::RenderPath GraphicsPath *  path,
nscolor  color,
float  opacity,
nsISVGGDIPlusCanvas canvas
[protected]
 

Definition at line 358 of file nsSVGGDIPlusPathGeometry.cpp.

References nsISVGGDIPlusCanvas::GetGraphics().

Referenced by Render().


Friends And Related Function Documentation

nsresult NS_NewSVGGDIPlusPathGeometry nsISVGRendererPathGeometry **  result,
nsISVGPathGeometrySource src
[friend]
 

Definition at line 135 of file nsSVGGDIPlusPathGeometry.cpp.


Member Data Documentation

nsAutoRefCnt nsSVGGDIPlusPathGeometry::mRefCnt [protected]
 

Definition at line 79 of file nsSVGGDIPlusPathGeometry.cpp.


The documentation for this class was generated from the following file:
Generated on Wed Sep 10 22:25:44 2003 for Mozilla SVG Project Rendering Backend by doxygen1.3