nsSVGLibartPathGeometry Class Reference
[Libart Rendering Engine]

Inheritance diagram for nsSVGLibartPathGeometry:

Inheritance graph
[legend]
Collaboration diagram for nsSVGLibartPathGeometry:

Collaboration graph
[legend]
List of all members.

Detailed Description

Libart path geometry implementation

Definition at line 64 of file nsSVGLibartPathGeometry.cpp.

Public Member Functions

Protected Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

nsSVGLibartPathGeometry::nsSVGLibartPathGeometry  )  [protected]
 

Definition at line 106 of file nsSVGLibartPathGeometry.cpp.

nsSVGLibartPathGeometry::~nsSVGLibartPathGeometry  )  [protected]
 

Definition at line 111 of file nsSVGLibartPathGeometry.cpp.

References ClearPath().


Member Function Documentation

nsresult nsSVGLibartPathGeometry::Init nsISVGPathGeometrySource src  )  [protected]
 

Definition at line 116 of file nsSVGLibartPathGeometry.cpp.

Referenced by NS_NewSVGLibartPathGeometry().

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

nsrefcnt nsSVGLibartPathGeometry::AddRef void   )  [virtual]
 

Definition at line 146 of file nsSVGLibartPathGeometry.cpp.

nsrefcnt nsSVGLibartPathGeometry::Release void   )  [virtual]
 

Definition at line 147 of file nsSVGLibartPathGeometry.cpp.

nsresult nsSVGLibartPathGeometry::Render nsISVGRendererCanvas canvas  )  [virtual]
 

Implements void render(in nsISVGRendererCanvas canvas);

Definition at line 261 of file nsSVGLibartPathGeometry.cpp.

References ArtColor, GetFill(), GetStroke(), nscolor, nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR, and nsISVGRendererPathGeometry::render().

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

Implements nsISVGRendererRegion update(in unsigned long updatemask);

Definition at line 314 of file nsSVGLibartPathGeometry.cpp.

References ClearCoveredRegion(), ClearFill(), ClearPath(), ClearStroke(), GetCoveredRegion(), nsISVGGeometrySource::UPDATEMASK_CTM, nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE, nsISVGGeometrySource::UPDATEMASK_FILL_RULE, 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 nsSVGLibartPathGeometry::GetCoveredRegion nsISVGRendererRegion **  _retval  )  [virtual]
 

Implements nsISVGRendererRegion getCoveredRegion();

Definition at line 368 of file nsSVGLibartPathGeometry.cpp.

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

Referenced by Update().

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

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

Definition at line 409 of file nsSVGLibartPathGeometry.cpp.

References nsSVGRenderItem::Contains(), nsISVGPathGeometrySource::HITTEST_MASK_FILL, and nsISVGPathGeometrySource::HITTEST_MASK_STROKE.

void nsSVGLibartPathGeometry::ClearPath  )  [inline, protected]
 

Definition at line 82 of file nsSVGLibartPathGeometry.cpp.

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

void nsSVGLibartPathGeometry::ClearFill  )  [inline, protected]
 

Definition at line 83 of file nsSVGLibartPathGeometry.cpp.

References nsSVGRenderItem::Clear().

Referenced by Update().

void nsSVGLibartPathGeometry::ClearStroke  )  [inline, protected]
 

Definition at line 84 of file nsSVGLibartPathGeometry.cpp.

References nsSVGRenderItem::Clear().

Referenced by Update().

void nsSVGLibartPathGeometry::ClearCoveredRegion  )  [inline, protected]
 

Definition at line 85 of file nsSVGLibartPathGeometry.cpp.

Referenced by Update().

ArtVpath * nsSVGLibartPathGeometry::GetPath  )  [protected]
 

Definition at line 157 of file nsSVGLibartPathGeometry.cpp.

References GetBezierFlatness(), and NS_NewSVGLibartBPathBuilder().

Referenced by GetFill(), and GetStroke().

ArtSVP * nsSVGLibartPathGeometry::GetFill  )  [protected]
 

Definition at line 213 of file nsSVGLibartPathGeometry.cpp.

References nsSVGFill::Build(), GetPath(), nsSVGRenderItem::GetSvp(), and nsSVGRenderItem::IsEmpty().

Referenced by GetCoveredRegion(), and Render().

ArtSVP * nsSVGLibartPathGeometry::GetStroke  )  [protected]
 

Definition at line 223 of file nsSVGLibartPathGeometry.cpp.

References nsSVGStroke::Build(), GetPath(), nsSVGRenderItem::GetSvp(), and nsSVGRenderItem::IsEmpty().

Referenced by GetCoveredRegion(), and Render().

double nsSVGLibartPathGeometry::GetBezierFlatness  )  [protected]
 

Definition at line 233 of file nsSVGLibartPathGeometry.cpp.

Referenced by GetPath().


Friends And Related Function Documentation

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

Definition at line 124 of file nsSVGLibartPathGeometry.cpp.


Member Data Documentation

nsAutoRefCnt nsSVGLibartPathGeometry::mRefCnt [protected]
 

Definition at line 76 of file nsSVGLibartPathGeometry.cpp.


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