nsSVGGDIPlusGlyphGeometry Class Reference
[GDI+ Rendering Engine]

Inheritance diagram for nsSVGGDIPlusGlyphGeometry:

Inheritance graph
[legend]
Collaboration diagram for nsSVGGDIPlusGlyphGeometry:

Collaboration graph
[legend]
List of all members.

Detailed Description

GDI+ glyph geometry implementation

Definition at line 211 of file nsSVGGDIPlusGlyphGeometry.cpp.

Public Member Functions

Protected Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

nsSVGGDIPlusGlyphGeometry::nsSVGGDIPlusGlyphGeometry  )  [protected]
 

Definition at line 245 of file nsSVGGDIPlusGlyphGeometry.cpp.

nsSVGGDIPlusGlyphGeometry::~nsSVGGDIPlusGlyphGeometry  )  [protected]
 

Definition at line 250 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mHitTestRegion, and mStroke.


Member Function Documentation

nsresult nsSVGGDIPlusGlyphGeometry::Init nsISVGGlyphGeometrySource src  )  [protected]
 

Definition at line 257 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mSource.

Referenced by NS_NewSVGGDIPlusGlyphGeometry().

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

nsrefcnt nsSVGGDIPlusGlyphGeometry::AddRef void   )  [virtual]
 

Definition at line 289 of file nsSVGGDIPlusGlyphGeometry.cpp.

nsrefcnt nsSVGGDIPlusGlyphGeometry::Release void   )  [virtual]
 

Definition at line 290 of file nsSVGGDIPlusGlyphGeometry.cpp.

nsresult nsSVGGDIPlusGlyphGeometry::Render nsISVGRendererCanvas canvas  )  [virtual]
 

Implements void render(in nsISVGRendererCanvas canvas);

Definition at line 303 of file nsSVGGDIPlusGlyphGeometry.cpp.

References DrawFill(), SectionIterator::GetAdvance(), SectionIterator::GetBounds(), GetGlobalTransform(), SectionIterator::GetHighlightBackground(), SectionIterator::GetHighlightForeground(), SectionIterator::GetLength(), SectionIterator::GetSectionPtr(), SectionIterator::IsEnd(), SectionIterator::IsHighlighted(), SectionIterator::IsOnlySection(), mCoveredRegion, mSource, mStroke, SectionIterator::Next(), nscolor, nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR, Update(), and nsISVGGeometrySource::UPDATEMASK_ALL.

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

Implements nsISVGRendererRegion update(in unsigned long updatemask);

Definition at line 416 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mCoveredRegion, nsISVGGlyphMetricsSource::UPDATEMASK_CHARACTER_DATA, nsISVGGeometrySource::UPDATEMASK_CTM, nsISVGGlyphMetricsSource::UPDATEMASK_FONT, nsISVGGlyphGeometrySource::UPDATEMASK_METRICS, nsISVGGeometrySource::UPDATEMASK_NOTHING, 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, nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH, nsISVGGlyphGeometrySource::UPDATEMASK_X, nsISVGGlyphGeometrySource::UPDATEMASK_Y, UpdateRegions(), and UpdateStroke().

Referenced by Render().

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

Implements nsISVGRendererRegion getCoveredRegion();

Definition at line 470 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mCoveredRegion.

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

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

Definition at line 479 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mHitTestRegion.

void nsSVGGDIPlusGlyphGeometry::DrawFill Graphics *  g,
Brush &  b,
const WCHAR *  start,
INT  length,
float  x,
float  y
[protected]
 

Definition at line 494 of file nsSVGGDIPlusGlyphGeometry.cpp.

References GetGlobalTransform(), and mSource.

Referenced by Render().

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

Definition at line 526 of file nsSVGGDIPlusGlyphGeometry.cpp.

References mSource.

Referenced by DrawFill(), Render(), UpdateRegions(), and UpdateStroke().

void nsSVGGDIPlusGlyphGeometry::UpdateStroke  )  [protected]
 

Definition at line 556 of file nsSVGGDIPlusGlyphGeometry.cpp.

References GetGlobalTransform(), mSource, mStroke, nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR, 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 Update().

void nsSVGGDIPlusGlyphGeometry::UpdateRegions  )  [protected]
 

Definition at line 691 of file nsSVGGDIPlusGlyphGeometry.cpp.

References GetGlobalTransform(), mCoveredRegion, mHitTestRegion, mSource, and NS_NewSVGGDIPlusClonedRegion().

Referenced by Update().


Friends And Related Function Documentation

nsresult NS_NewSVGGDIPlusGlyphGeometry nsISVGRendererGlyphGeometry **  result,
nsISVGGlyphGeometrySource src
[friend]
 

Definition at line 265 of file nsSVGGDIPlusGlyphGeometry.cpp.


Member Data Documentation

nsAutoRefCnt nsSVGGDIPlusGlyphGeometry::mRefCnt [protected]
 

Definition at line 223 of file nsSVGGDIPlusGlyphGeometry.cpp.

nsISVGGlyphGeometrySource* nsSVGGDIPlusGlyphGeometry::mSource [protected]
 

Definition at line 234 of file nsSVGGDIPlusGlyphGeometry.cpp.

Referenced by DrawFill(), GetGlobalTransform(), Init(), Render(), UpdateRegions(), and UpdateStroke().

nsISVGRendererRegion* nsSVGGDIPlusGlyphGeometry::mCoveredRegion [protected]
 

Definition at line 235 of file nsSVGGDIPlusGlyphGeometry.cpp.

Referenced by GetCoveredRegion(), Render(), Update(), and UpdateRegions().

Region* nsSVGGDIPlusGlyphGeometry::mHitTestRegion [protected]
 

Definition at line 236 of file nsSVGGDIPlusGlyphGeometry.cpp.

Referenced by ContainsPoint(), UpdateRegions(), and ~nsSVGGDIPlusGlyphGeometry().

GraphicsPath* nsSVGGDIPlusGlyphGeometry::mStroke [protected]
 

Definition at line 237 of file nsSVGGDIPlusGlyphGeometry.cpp.

Referenced by Render(), UpdateStroke(), and ~nsSVGGDIPlusGlyphGeometry().


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