nsISVGGeometrySource Interface Reference
[Rendering Backend Interfaces]

import "nsISVGGeometrySource.idl";

Inheritance diagram for nsISVGGeometrySource:

Inheritance graph
[legend]
Collaboration diagram for nsISVGGeometrySource:

Collaboration graph
[legend]
List of all members.

Detailed Description

Describes a 'geometry' object (either a path or a glyph) in the SVG rendering backend. The rendering backend maintains an object implementing this interface for each rendering engine-native geometry object.

An engine-native geometry object will be informed of changes in a geometry's description with a call to its 'update' method with an OR-ed combination of the UPDATEMASK_* constants defined in this interface (or one of its sub-interfaces).

Definition at line 69 of file nsISVGGeometrySource.idl.

Stroke dash-array

Generic updatemasks

Presentation context

Current transform matrix

Stroke opacity

Stroke width

Stroke dash-offset

Stroke line-cap

Stroke line-join

Miterlimit

Fill opacity

Fill rule

Paint type constants for stroke and fill paint

Stroke paint

Fill paint


Member Function Documentation

void nsISVGGeometrySource::getStrokeDashArray [array, size_is(count)] out float  arr,
out unsigned long  count
 


Member Data Documentation

const unsigned long nsISVGGeometrySource::UPDATEMASK_NOTHING = 0x00000000
 

Definition at line 75 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

const unsigned long nsISVGGeometrySource::UPDATEMASK_ALL = 0xFFFFFFFF
 

Definition at line 76 of file nsISVGGeometrySource.idl.

Referenced by nsSVGGDIPlusGlyphGeometry::Render().

readonly attribute nsIPresContext nsISVGGeometrySource::presContext
 

Definition at line 83 of file nsISVGGeometrySource.idl.

Referenced by nsSVGGlyphFrame::GetHighlight().

const unsigned long nsISVGGeometrySource::UPDATEMASK_PRES_CONTEXT = 0x00000001
 

Definition at line 84 of file nsISVGGeometrySource.idl.

readonly attribute nsIDOMSVGMatrix nsISVGGeometrySource::CTM
 

Definition at line 91 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_CTM = 0x00000002
 

Definition at line 92 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

readonly attribute float nsISVGGeometrySource::strokeOpacity
 

Definition at line 99 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_OPACITY = 0x00000004
 

Definition at line 100 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeWidth
 

Definition at line 107 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH = 0x00000008
 

Definition at line 108 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_DASH_ARRAY = 0x00000010
 

Definition at line 117 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

readonly attribute float nsISVGGeometrySource::strokeDashoffset
 

Definition at line 124 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_DASHOFFSET = 0x00000020
 

Definition at line 125 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_BUTT = 0
 

Definition at line 132 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_ROUND = 1
 

Definition at line 133 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_SQUARE = 2
 

Definition at line 134 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

readonly attribute unsigned short nsISVGGeometrySource::strokeLinecap
 

Definition at line 136 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINECAP = 0x00000040
 

Definition at line 137 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_MITER = 0
 

Definition at line 145 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_ROUND = 1
 

Definition at line 146 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_BEVEL = 2
 

Definition at line 147 of file nsISVGGeometrySource.idl.

Referenced by nsSVGStroke::Build(), nsSVGGDIPlusPathGeometry::GetStroke(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

readonly attribute unsigned short nsISVGGeometrySource::strokeLinejoin
 

Definition at line 149 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINEJOIN = 0x00000080
 

Definition at line 150 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

readonly attribute float nsISVGGeometrySource::strokeMiterlimit
 

Definition at line 157 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_MITERLIMIT = 0x00000100
 

Definition at line 158 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

readonly attribute float nsISVGGeometrySource::fillOpacity
 

Definition at line 165 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_OPACITY = 0x00000200
 

Definition at line 166 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_NONZERO = 0
 

Definition at line 174 of file nsISVGGeometrySource.idl.

Referenced by nsSVGFill::Build(), and nsSVGGDIPlusPathBuilder::nsSVGGDIPlusPathBuilder().

const unsigned short nsISVGGeometrySource::FILL_RULE_EVENODD = 1
 

Definition at line 175 of file nsISVGGeometrySource.idl.

Referenced by nsSVGFill::Build().

readonly attribute unsigned short nsISVGGeometrySource::fillRule
 

Definition at line 177 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_RULE = 0x00000400
 

Definition at line 178 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), and nsSVGGDIPlusPathGeometry::Update().

const unsigned short nsISVGGeometrySource::PAINT_TYPE_NONE = 0
 

Definition at line 186 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::GetCoveredRegion(), nsSVGGDIPlusPathGeometry::GetCoveredRegion(), and nsSVGGDIPlusGlyphMetrics::GetTextRenderingHint().

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR = 1
 

Definition at line 187 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Render(), nsSVGGDIPlusPathGeometry::Render(), nsSVGGDIPlusGlyphGeometry::Render(), and nsSVGGDIPlusGlyphGeometry::UpdateStroke().

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SERVER = 2
 

Definition at line 188 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintType
 

Definition at line 196 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT_TYPE = 0x00000800
 

Definition at line 197 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), nsSVGGDIPlusPathGeometry::Update(), and nsSVGGDIPlusGlyphGeometry::Update().

readonly attribute nscolor nsISVGGeometrySource::strokePaint
 

Definition at line 199 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT = 0x00001000
 

Definition at line 200 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintType
 

Definition at line 208 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE = 0x00002000
 

Definition at line 209 of file nsISVGGeometrySource.idl.

Referenced by nsSVGLibartPathGeometry::Update(), and nsSVGGDIPlusPathGeometry::Update().

readonly attribute nscolor nsISVGGeometrySource::fillPaint
 

Definition at line 211 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT = 0x00004000
 

Definition at line 212 of file nsISVGGeometrySource.idl.


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