Back to index

lightning-sunbird  0.9+nobinonly
Classes
Rendering Backend Interfaces

Classes

interface  nsISVGGeometrySource
 Describes a 'geometry' object (either a path or a glyph) in the SVG rendering backend. More...
interface  nsISVGGlyphGeometrySource
 Abstracts a description of a 'composite glyph' (character string with associated font and styling information) in the SVG rendering backend for use by a rendering engine's nsISVGRendererGlyphGeometry objects. More...
interface  nsISVGGlyphMetricsSource
 Abstracts a description of a 'composite glyph' (character string with associated font and styling information) in the SVG rendering backend for use by a rendering engine's nsISVGRendererGlyphMetrics objects. More...
interface  nsISVGGradient
 Describes the 'gradient' objects (either linear or a radial) to the rendering backends. More...
interface  nsISVGLinearGradient
interface  nsISVGRadialGradient
interface  nsISVGPathGeometrySource
 Describes a 'path geometry' object in the SVG rendering backend, i.e. More...
interface  nsISVGRectangleSink
 Interface handed to nsISVGRendererRegion::getRectangleScans() to obtain an approximation of the region with rectangles. More...
interface  nsISVGRendererSurface
 One of a number of interfaces (all starting with nsISVGRenderer*) to be implemented by an SVG rendering engine. More...

Class Documentation

interface nsISVGGeometrySource

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 72 of file nsISVGGeometrySource.idl.

Inheritance diagram for nsISVGGeometrySource:
Collaboration diagram for nsISVGGeometrySource:

Public Member Functions

boolean IsClipChild ()

Generic updatemasks

const unsigned long UPDATEMASK_NOTHING = 0x00000000
const unsigned long UPDATEMASK_ALL = 0xFFFFFFFF

Presentation context

readonly attribute nsPresContext presContext
const unsigned long UPDATEMASK_PRES_CONTEXT = 0x00000001

Canvas transform matrix

readonly attribute nsIDOMSVGMatrix canvasTM
const unsigned long UPDATEMASK_CANVAS_TM = 0x00000002

Stroke opacity

readonly attribute float strokeOpacity
const unsigned long UPDATEMASK_STROKE_OPACITY = 0x00000004

Stroke width

readonly attribute float strokeWidth
const unsigned long UPDATEMASK_STROKE_WIDTH = 0x00000008

Stroke dash-array

const unsigned long UPDATEMASK_STROKE_DASH_ARRAY = 0x00000010
void getStrokeDashArray ([array, size_is(count)] out float arr, out unsigned long count)

Stroke dash-offset

readonly attribute float strokeDashoffset
const unsigned long UPDATEMASK_STROKE_DASHOFFSET = 0x00000020

Stroke line-cap

const unsigned short STROKE_LINECAP_BUTT = 0
const unsigned short STROKE_LINECAP_ROUND = 1
const unsigned short STROKE_LINECAP_SQUARE = 2
readonly attribute unsigned short strokeLinecap
const unsigned long UPDATEMASK_STROKE_LINECAP = 0x00000040

Stroke line-join

const unsigned short STROKE_LINEJOIN_MITER = 0
const unsigned short STROKE_LINEJOIN_ROUND = 1
const unsigned short STROKE_LINEJOIN_BEVEL = 2
readonly attribute unsigned short strokeLinejoin
const unsigned long UPDATEMASK_STROKE_LINEJOIN = 0x00000080

Miterlimit

readonly attribute float strokeMiterlimit
const unsigned long UPDATEMASK_STROKE_MITERLIMIT = 0x00000100

Fill opacity

readonly attribute float fillOpacity
const unsigned long UPDATEMASK_FILL_OPACITY = 0x00000200

Fill rule

const unsigned short FILL_RULE_NONZERO = 0
const unsigned short FILL_RULE_EVENODD = 1
readonly attribute unsigned short fillRule
readonly attribute unsigned short clipRule
const unsigned long UPDATEMASK_FILL_RULE = 0x00000400

Paint type constants for stroke and fill paint

const unsigned short PAINT_TYPE_NONE = 0
const unsigned short PAINT_TYPE_SOLID_COLOR = 1
const unsigned short PAINT_TYPE_SERVER = 2
const unsigned short PAINT_TYPE_GRADIENT = 3
const unsigned short PAINT_TYPE_PATTERN = 4

Stroke paint

readonly attribute unsigned short strokePaintType
const unsigned long UPDATEMASK_STROKE_PAINT_TYPE = 0x00000800
readonly attribute unsigned short strokePaintServerType
readonly attribute nscolor strokePaint
const unsigned long UPDATEMASK_STROKE_PAINT = 0x00001000
void GetStrokeGradient (out nsISVGGradient aGrad)

Fill paint

readonly attribute unsigned short fillPaintType
const unsigned long UPDATEMASK_FILL_PAINT_TYPE = 0x00004000
readonly attribute unsigned short fillPaintServerType
readonly attribute nscolor fillPaint
const unsigned long UPDATEMASK_FILL_PAINT = 0x00008000
void GetFillGradient (out nsISVGGradient aGrad)

Member Function Documentation

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

Member Data Documentation

readonly attribute unsigned short nsISVGGeometrySource::clipRule

Definition at line 181 of file nsISVGGeometrySource.idl.

Definition at line 178 of file nsISVGGeometrySource.idl.

Definition at line 177 of file nsISVGGeometrySource.idl.

Definition at line 168 of file nsISVGGeometrySource.idl.

Definition at line 231 of file nsISVGGeometrySource.idl.

Definition at line 226 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillRule

Definition at line 180 of file nsISVGGeometrySource.idl.

Definition at line 193 of file nsISVGGeometrySource.idl.

Definition at line 190 of file nsISVGGeometrySource.idl.

Definition at line 194 of file nsISVGGeometrySource.idl.

Definition at line 192 of file nsISVGGeometrySource.idl.

Definition at line 191 of file nsISVGGeometrySource.idl.

Definition at line 135 of file nsISVGGeometrySource.idl.

Definition at line 136 of file nsISVGGeometrySource.idl.

Definition at line 137 of file nsISVGGeometrySource.idl.

Definition at line 150 of file nsISVGGeometrySource.idl.

Definition at line 148 of file nsISVGGeometrySource.idl.

Definition at line 149 of file nsISVGGeometrySource.idl.

Definition at line 139 of file nsISVGGeometrySource.idl.

Definition at line 152 of file nsISVGGeometrySource.idl.

Definition at line 102 of file nsISVGGeometrySource.idl.

Definition at line 206 of file nsISVGGeometrySource.idl.

Definition at line 201 of file nsISVGGeometrySource.idl.

Definition at line 110 of file nsISVGGeometrySource.idl.

Definition at line 79 of file nsISVGGeometrySource.idl.

Definition at line 95 of file nsISVGGeometrySource.idl.

Definition at line 169 of file nsISVGGeometrySource.idl.

Definition at line 243 of file nsISVGGeometrySource.idl.

Definition at line 227 of file nsISVGGeometrySource.idl.

Definition at line 182 of file nsISVGGeometrySource.idl.

Definition at line 78 of file nsISVGGeometrySource.idl.

Definition at line 87 of file nsISVGGeometrySource.idl.

Definition at line 140 of file nsISVGGeometrySource.idl.

Definition at line 153 of file nsISVGGeometrySource.idl.

Definition at line 103 of file nsISVGGeometrySource.idl.

Definition at line 218 of file nsISVGGeometrySource.idl.

Definition at line 111 of file nsISVGGeometrySource.idl.

interface nsISVGGlyphGeometrySource

Abstracts a description of a 'composite glyph' (character string with associated font and styling information) in the SVG rendering backend for use by a rendering engine's nsISVGRendererGlyphGeometry objects.

In addition to the attributes of the nsISVGGlyphMetricsSource interface, this interface contains absolute positioning and other information, such as e.g. individual character highlighting, which doesn't affect the actual metrics of the glyph. The metrics of the glyph, as given by the rendering engine-native object implementing nsISVGRendererGlyphMetrics are also provided as an attribute.

An engine-native glyph geometry object will be informed of changes in its associated composite glyph with a call to its nsISVGRendererGlyphMetrics::update() method with an OR-ed combination of the UPDATEMASK_* constants defined in this interface (and its base-interface).

Definition at line 70 of file nsISVGGlyphGeometrySource.idl.

Inheritance diagram for nsISVGGlyphGeometrySource:
Collaboration diagram for nsISVGGlyphGeometrySource:

Public Member Functions

boolean IsClipChild ()

Generic updatemasks

const unsigned long UPDATEMASK_NOTHING = 0x00000000
const unsigned long UPDATEMASK_ALL = 0xFFFFFFFF

Presentation context

readonly attribute nsPresContext presContext
const unsigned long UPDATEMASK_PRES_CONTEXT = 0x00000001

Canvas transform matrix

readonly attribute nsIDOMSVGMatrix canvasTM
const unsigned long UPDATEMASK_CANVAS_TM = 0x00000002

Stroke opacity

readonly attribute float strokeOpacity
const unsigned long UPDATEMASK_STROKE_OPACITY = 0x00000004

Stroke width

readonly attribute float strokeWidth
const unsigned long UPDATEMASK_STROKE_WIDTH = 0x00000008

Stroke dash-array

const unsigned long UPDATEMASK_STROKE_DASH_ARRAY = 0x00000010
void getStrokeDashArray ([array, size_is(count)] out float arr, out unsigned long count)

Stroke dash-offset

readonly attribute float strokeDashoffset
const unsigned long UPDATEMASK_STROKE_DASHOFFSET = 0x00000020

Stroke line-cap

const unsigned short STROKE_LINECAP_BUTT = 0
const unsigned short STROKE_LINECAP_ROUND = 1
const unsigned short STROKE_LINECAP_SQUARE = 2
readonly attribute unsigned short strokeLinecap
const unsigned long UPDATEMASK_STROKE_LINECAP = 0x00000040

Stroke line-join

const unsigned short STROKE_LINEJOIN_MITER = 0
const unsigned short STROKE_LINEJOIN_ROUND = 1
const unsigned short STROKE_LINEJOIN_BEVEL = 2
readonly attribute unsigned short strokeLinejoin
const unsigned long UPDATEMASK_STROKE_LINEJOIN = 0x00000080

Miterlimit

readonly attribute float strokeMiterlimit
const unsigned long UPDATEMASK_STROKE_MITERLIMIT = 0x00000100

Fill opacity

readonly attribute float fillOpacity
const unsigned long UPDATEMASK_FILL_OPACITY = 0x00000200

Fill rule

const unsigned short FILL_RULE_NONZERO = 0
const unsigned short FILL_RULE_EVENODD = 1
readonly attribute unsigned short fillRule
readonly attribute unsigned short clipRule
const unsigned long UPDATEMASK_FILL_RULE = 0x00000400

Paint type constants for stroke and fill paint

const unsigned short PAINT_TYPE_NONE = 0
const unsigned short PAINT_TYPE_SOLID_COLOR = 1
const unsigned short PAINT_TYPE_SERVER = 2
const unsigned short PAINT_TYPE_GRADIENT = 3
const unsigned short PAINT_TYPE_PATTERN = 4

Stroke paint

readonly attribute unsigned short strokePaintType
const unsigned long UPDATEMASK_STROKE_PAINT_TYPE = 0x00000800
readonly attribute unsigned short strokePaintServerType
readonly attribute nscolor strokePaint
const unsigned long UPDATEMASK_STROKE_PAINT = 0x00001000
void GetStrokeGradient (out nsISVGGradient aGrad)

Fill paint

readonly attribute unsigned short fillPaintType
const unsigned long UPDATEMASK_FILL_PAINT_TYPE = 0x00004000
readonly attribute unsigned short fillPaintServerType
readonly attribute nscolor fillPaint
const unsigned long UPDATEMASK_FILL_PAINT = 0x00008000
void GetFillGradient (out nsISVGGradient aGrad)

Glyph metrics

readonly attribute
nsISVGRendererGlyphMetrics 
metrics
const unsigned long UPDATEMASK_METRICS = 0x00040000

Glyph start position

readonly attribute float x
const unsigned long UPDATEMASK_X = 0x00080000
readonly attribute float y
const unsigned long UPDATEMASK_Y = 0x00100000

Partial highlighting for selection feedback

readonly attribute boolean hasHighlight
const unsigned long UPDATEMASK_HAS_HIGHLIGHT = 0x00200000
const unsigned long UPDATEMASK_HIGHLIGHT = 0x00400000
void getHighlight (out unsigned long charnum, out unsigned long nchars, out nscolor foreground, out nscolor background)

Font

readonly attribute nsFont font
const unsigned long UPDATEMASK_FONT = 0x00008000

Character data

readonly attribute DOMString characterData
const unsigned long UPDATEMASK_CHARACTER_DATA = 0x00010000

Character positioning information

const unsigned long UPDATEMASK_CHARACTER_POSITION = 0x00020000
void GetCharacterPosition (out nsSVGCharacterPosition aCP)

Text rendering mode

const unsigned short TEXT_RENDERING_AUTO = 0
const unsigned short TEXT_RENDERING_OPTIMIZESPEED = 1
const unsigned short TEXT_RENDERING_OPTIMIZELEGIBILITY = 2
const unsigned short TEXT_RENDERING_GEOMETRICPRECISION = 3
readonly attribute unsigned short textRendering
const unsigned long UPDATEMASK_TEXT_RENDERING = 0x00040000

Member Function Documentation

void nsISVGGlyphGeometrySource::getHighlight ( out unsigned long  charnum,
out unsigned long  nchars,
out nscolor  foreground,
out nscolor  background 
)
void nsISVGGeometrySource::getStrokeDashArray ( [array, size_is(count)] out float  arr,
out unsigned long  count 
) [inherited]

Member Data Documentation

Definition at line 94 of file nsISVGGeometrySource.idl.

readonly attribute DOMString nsISVGGlyphMetricsSource::characterData [inherited]

Definition at line 88 of file nsISVGGlyphMetricsSource.idl.

readonly attribute unsigned short nsISVGGeometrySource::clipRule [inherited]

Definition at line 181 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_EVENODD = 1 [inherited]

Definition at line 178 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_NONZERO = 0 [inherited]

Definition at line 177 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::fillOpacity [inherited]

Definition at line 168 of file nsISVGGeometrySource.idl.

Definition at line 235 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintServerType [inherited]

Definition at line 231 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintType [inherited]

Definition at line 226 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillRule [inherited]

Definition at line 180 of file nsISVGGeometrySource.idl.

Definition at line 80 of file nsISVGGlyphMetricsSource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_GRADIENT = 3 [inherited]

Definition at line 193 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_NONE = 0 [inherited]

Definition at line 190 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_PATTERN = 4 [inherited]

Definition at line 194 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SERVER = 2 [inherited]

Definition at line 192 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR = 1 [inherited]

Definition at line 191 of file nsISVGGeometrySource.idl.

Definition at line 86 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_BUTT = 0 [inherited]

Definition at line 135 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_ROUND = 1 [inherited]

Definition at line 136 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_SQUARE = 2 [inherited]

Definition at line 137 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_BEVEL = 2 [inherited]

Definition at line 150 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_MITER = 0 [inherited]

Definition at line 148 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_ROUND = 1 [inherited]

Definition at line 149 of file nsISVGGeometrySource.idl.

Definition at line 127 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinecap [inherited]

Definition at line 139 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinejoin [inherited]

Definition at line 152 of file nsISVGGeometrySource.idl.

Definition at line 160 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeOpacity [inherited]

Definition at line 102 of file nsISVGGeometrySource.idl.

Definition at line 210 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintServerType [inherited]

Definition at line 206 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintType [inherited]

Definition at line 201 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeWidth [inherited]

Definition at line 110 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGlyphMetricsSource::TEXT_RENDERING_AUTO = 0 [inherited]

Definition at line 105 of file nsISVGGlyphMetricsSource.idl.

Definition at line 108 of file nsISVGGlyphMetricsSource.idl.

Definition at line 107 of file nsISVGGlyphMetricsSource.idl.

Definition at line 106 of file nsISVGGlyphMetricsSource.idl.

readonly attribute unsigned short nsISVGGlyphMetricsSource::textRendering [inherited]

Definition at line 110 of file nsISVGGlyphMetricsSource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_ALL = 0xFFFFFFFF [inherited]

Definition at line 79 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_CANVAS_TM = 0x00000002 [inherited]

Definition at line 95 of file nsISVGGeometrySource.idl.

Definition at line 89 of file nsISVGGlyphMetricsSource.idl.

Definition at line 97 of file nsISVGGlyphMetricsSource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_OPACITY = 0x00000200 [inherited]

Definition at line 169 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT = 0x00008000 [inherited]

Definition at line 243 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE = 0x00004000 [inherited]

Definition at line 227 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_RULE = 0x00000400 [inherited]

Definition at line 182 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGlyphMetricsSource::UPDATEMASK_FONT = 0x00008000 [inherited]

Definition at line 81 of file nsISVGGlyphMetricsSource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_NOTHING = 0x00000000 [inherited]

Definition at line 78 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_PRES_CONTEXT = 0x00000001 [inherited]

Definition at line 87 of file nsISVGGeometrySource.idl.

Definition at line 120 of file nsISVGGeometrySource.idl.

Definition at line 128 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINECAP = 0x00000040 [inherited]

Definition at line 140 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINEJOIN = 0x00000080 [inherited]

Definition at line 153 of file nsISVGGeometrySource.idl.

Definition at line 161 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_OPACITY = 0x00000004 [inherited]

Definition at line 103 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT = 0x00001000 [inherited]

Definition at line 218 of file nsISVGGeometrySource.idl.

Definition at line 202 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH = 0x00000008 [inherited]

Definition at line 111 of file nsISVGGeometrySource.idl.

Definition at line 111 of file nsISVGGlyphMetricsSource.idl.

Definition at line 85 of file nsISVGGlyphGeometrySource.idl.

Definition at line 87 of file nsISVGGlyphGeometrySource.idl.

Definition at line 84 of file nsISVGGlyphGeometrySource.idl.

Implemented in nsSVGGlyphFrame, and nsSVGGlyphFrame.

Definition at line 86 of file nsISVGGlyphGeometrySource.idl.

interface nsISVGGlyphMetricsSource

Abstracts a description of a 'composite glyph' (character string with associated font and styling information) in the SVG rendering backend for use by a rendering engine's nsISVGRendererGlyphMetrics objects.

An engine-native glyph metrics object will be informed of changes in its associated composite glyph with a call to its nsISVGRendererGlyphMetrics::update() method with an OR-ed combination of the UPDATEMASK_* constants defined in this interface (and its base-interface).

Definition at line 74 of file nsISVGGlyphMetricsSource.idl.

Inheritance diagram for nsISVGGlyphMetricsSource:
Collaboration diagram for nsISVGGlyphMetricsSource:

Public Member Functions

boolean IsClipChild ()

Generic updatemasks

const unsigned long UPDATEMASK_NOTHING = 0x00000000
const unsigned long UPDATEMASK_ALL = 0xFFFFFFFF

Presentation context

readonly attribute nsPresContext presContext
const unsigned long UPDATEMASK_PRES_CONTEXT = 0x00000001

Canvas transform matrix

readonly attribute nsIDOMSVGMatrix canvasTM
const unsigned long UPDATEMASK_CANVAS_TM = 0x00000002

Stroke opacity

readonly attribute float strokeOpacity
const unsigned long UPDATEMASK_STROKE_OPACITY = 0x00000004

Stroke width

readonly attribute float strokeWidth
const unsigned long UPDATEMASK_STROKE_WIDTH = 0x00000008

Stroke dash-array

const unsigned long UPDATEMASK_STROKE_DASH_ARRAY = 0x00000010
void getStrokeDashArray ([array, size_is(count)] out float arr, out unsigned long count)

Stroke dash-offset

readonly attribute float strokeDashoffset
const unsigned long UPDATEMASK_STROKE_DASHOFFSET = 0x00000020

Stroke line-cap

const unsigned short STROKE_LINECAP_BUTT = 0
const unsigned short STROKE_LINECAP_ROUND = 1
const unsigned short STROKE_LINECAP_SQUARE = 2
readonly attribute unsigned short strokeLinecap
const unsigned long UPDATEMASK_STROKE_LINECAP = 0x00000040

Stroke line-join

const unsigned short STROKE_LINEJOIN_MITER = 0
const unsigned short STROKE_LINEJOIN_ROUND = 1
const unsigned short STROKE_LINEJOIN_BEVEL = 2
readonly attribute unsigned short strokeLinejoin
const unsigned long UPDATEMASK_STROKE_LINEJOIN = 0x00000080

Miterlimit

readonly attribute float strokeMiterlimit
const unsigned long UPDATEMASK_STROKE_MITERLIMIT = 0x00000100

Fill opacity

readonly attribute float fillOpacity
const unsigned long UPDATEMASK_FILL_OPACITY = 0x00000200

Fill rule

const unsigned short FILL_RULE_NONZERO = 0
const unsigned short FILL_RULE_EVENODD = 1
readonly attribute unsigned short fillRule
readonly attribute unsigned short clipRule
const unsigned long UPDATEMASK_FILL_RULE = 0x00000400

Paint type constants for stroke and fill paint

const unsigned short PAINT_TYPE_NONE = 0
const unsigned short PAINT_TYPE_SOLID_COLOR = 1
const unsigned short PAINT_TYPE_SERVER = 2
const unsigned short PAINT_TYPE_GRADIENT = 3
const unsigned short PAINT_TYPE_PATTERN = 4

Stroke paint

readonly attribute unsigned short strokePaintType
const unsigned long UPDATEMASK_STROKE_PAINT_TYPE = 0x00000800
readonly attribute unsigned short strokePaintServerType
readonly attribute nscolor strokePaint
const unsigned long UPDATEMASK_STROKE_PAINT = 0x00001000
void GetStrokeGradient (out nsISVGGradient aGrad)

Fill paint

readonly attribute unsigned short fillPaintType
const unsigned long UPDATEMASK_FILL_PAINT_TYPE = 0x00004000
readonly attribute unsigned short fillPaintServerType
readonly attribute nscolor fillPaint
const unsigned long UPDATEMASK_FILL_PAINT = 0x00008000
void GetFillGradient (out nsISVGGradient aGrad)

Font

readonly attribute nsFont font
const unsigned long UPDATEMASK_FONT = 0x00008000

Character data

readonly attribute DOMString characterData
const unsigned long UPDATEMASK_CHARACTER_DATA = 0x00010000

Character positioning information

const unsigned long UPDATEMASK_CHARACTER_POSITION = 0x00020000
void GetCharacterPosition (out nsSVGCharacterPosition aCP)

Text rendering mode

const unsigned short TEXT_RENDERING_AUTO = 0
const unsigned short TEXT_RENDERING_OPTIMIZESPEED = 1
const unsigned short TEXT_RENDERING_OPTIMIZELEGIBILITY = 2
const unsigned short TEXT_RENDERING_GEOMETRICPRECISION = 3
readonly attribute unsigned short textRendering
const unsigned long UPDATEMASK_TEXT_RENDERING = 0x00040000

Member Function Documentation

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

Member Data Documentation

Definition at line 94 of file nsISVGGeometrySource.idl.

Definition at line 88 of file nsISVGGlyphMetricsSource.idl.

readonly attribute unsigned short nsISVGGeometrySource::clipRule [inherited]

Definition at line 181 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_EVENODD = 1 [inherited]

Definition at line 178 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_NONZERO = 0 [inherited]

Definition at line 177 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::fillOpacity [inherited]

Definition at line 168 of file nsISVGGeometrySource.idl.

Definition at line 235 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintServerType [inherited]

Definition at line 231 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintType [inherited]

Definition at line 226 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillRule [inherited]

Definition at line 180 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_GRADIENT = 3 [inherited]

Definition at line 193 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_NONE = 0 [inherited]

Definition at line 190 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_PATTERN = 4 [inherited]

Definition at line 194 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SERVER = 2 [inherited]

Definition at line 192 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR = 1 [inherited]

Definition at line 191 of file nsISVGGeometrySource.idl.

Definition at line 86 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_BUTT = 0 [inherited]

Definition at line 135 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_ROUND = 1 [inherited]

Definition at line 136 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_SQUARE = 2 [inherited]

Definition at line 137 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_BEVEL = 2 [inherited]

Definition at line 150 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_MITER = 0 [inherited]

Definition at line 148 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_ROUND = 1 [inherited]

Definition at line 149 of file nsISVGGeometrySource.idl.

Definition at line 127 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinecap [inherited]

Definition at line 139 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinejoin [inherited]

Definition at line 152 of file nsISVGGeometrySource.idl.

Definition at line 160 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeOpacity [inherited]

Definition at line 102 of file nsISVGGeometrySource.idl.

Definition at line 210 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintServerType [inherited]

Definition at line 206 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintType [inherited]

Definition at line 201 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeWidth [inherited]

Definition at line 110 of file nsISVGGeometrySource.idl.

Definition at line 110 of file nsISVGGlyphMetricsSource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_ALL = 0xFFFFFFFF [inherited]

Definition at line 79 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_CANVAS_TM = 0x00000002 [inherited]

Definition at line 95 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_OPACITY = 0x00000200 [inherited]

Definition at line 169 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT = 0x00008000 [inherited]

Definition at line 243 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE = 0x00004000 [inherited]

Definition at line 227 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_RULE = 0x00000400 [inherited]

Definition at line 182 of file nsISVGGeometrySource.idl.

Definition at line 81 of file nsISVGGlyphMetricsSource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_NOTHING = 0x00000000 [inherited]

Definition at line 78 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_PRES_CONTEXT = 0x00000001 [inherited]

Definition at line 87 of file nsISVGGeometrySource.idl.

Definition at line 120 of file nsISVGGeometrySource.idl.

Definition at line 128 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINECAP = 0x00000040 [inherited]

Definition at line 140 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINEJOIN = 0x00000080 [inherited]

Definition at line 153 of file nsISVGGeometrySource.idl.

Definition at line 161 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_OPACITY = 0x00000004 [inherited]

Definition at line 103 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT = 0x00001000 [inherited]

Definition at line 218 of file nsISVGGeometrySource.idl.

Definition at line 202 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH = 0x00000008 [inherited]

Definition at line 111 of file nsISVGGeometrySource.idl.

interface nsISVGGradient

Describes the 'gradient' objects (either linear or a radial) to the rendering backends.

Definition at line 66 of file nsISVGGradient.idl.

Inheritance diagram for nsISVGGradient:
Collaboration diagram for nsISVGGradient:

Public Member Functions

void GetStopCount (out PRUint32 aStopCount)
void GetStopOffset (in PRInt32 aIndex, out float aOffset)
void GetStopColor (in PRInt32 aIndex, out nscolor aStopColor)
void GetStopOpacity (in PRInt32 aIndex, out float aStopOpacity)
void GetNextGradient (out nsISVGGradient aNextGrad, in PRUint32 aType)
void GetGradientTransform (out nsIDOMSVGMatrix retval, in nsISVGGeometrySource aSource)

Public Attributes

const unsigned long SVG_UNKNOWN_GRADIENT = 0
const unsigned long SVG_LINEAR_GRADIENT = 1
const unsigned long SVG_RADIAL_GRADIENT = 2
readonly attribute PRUint32 gradientType
readonly attribute PRUint16 gradientUnits
readonly attribute PRUint16 spreadMethod

Member Function Documentation

Here is the caller graph for this function:

Here is the caller graph for this function:

void nsISVGGradient::GetStopColor ( in PRInt32  aIndex,
out nscolor  aStopColor 
)

Here is the caller graph for this function:

Here is the caller graph for this function:

void nsISVGGradient::GetStopOffset ( in PRInt32  aIndex,
out float  aOffset 
)

Here is the caller graph for this function:

void nsISVGGradient::GetStopOpacity ( in PRInt32  aIndex,
out float  aStopOpacity 
)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 69 of file nsISVGGradient.idl.

Definition at line 70 of file nsISVGGradient.idl.

Definition at line 68 of file nsISVGGradient.idl.

interface nsISVGLinearGradient

Definition at line 87 of file nsISVGGradient.idl.

Inheritance diagram for nsISVGLinearGradient:
Collaboration diagram for nsISVGLinearGradient:

Public Attributes

readonly attribute float X1
readonly attribute float X2
readonly attribute float Y1
readonly attribute float Y2

Member Data Documentation

Definition at line 89 of file nsISVGGradient.idl.

Definition at line 90 of file nsISVGGradient.idl.

Definition at line 91 of file nsISVGGradient.idl.

Definition at line 92 of file nsISVGGradient.idl.

interface nsISVGRadialGradient

Definition at line 98 of file nsISVGGradient.idl.

Inheritance diagram for nsISVGRadialGradient:
Collaboration diagram for nsISVGRadialGradient:

Public Attributes

readonly attribute float Cx
readonly attribute float Cy
readonly attribute float R
readonly attribute float Fx
readonly attribute float Fy

Member Data Documentation

Definition at line 100 of file nsISVGGradient.idl.

Definition at line 101 of file nsISVGGradient.idl.

Definition at line 103 of file nsISVGGradient.idl.

Definition at line 104 of file nsISVGGradient.idl.

Definition at line 102 of file nsISVGGradient.idl.

interface nsISVGPathGeometrySource

Describes a 'path geometry' object in the SVG rendering backend, i.e.

a graphical object composed of lines, Bezier curves and elliptical arcs, that can be stroked and filled. The rendering backend maintains an object implementing this interface for each rendering engine-native path geometry object.

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

Definition at line 64 of file nsISVGPathGeometrySource.idl.

Inheritance diagram for nsISVGPathGeometrySource:
Collaboration diagram for nsISVGPathGeometrySource:

Public Member Functions

boolean IsClipChild ()

Generic updatemasks

const unsigned long UPDATEMASK_NOTHING = 0x00000000
const unsigned long UPDATEMASK_ALL = 0xFFFFFFFF

Presentation context

readonly attribute nsPresContext presContext
const unsigned long UPDATEMASK_PRES_CONTEXT = 0x00000001

Canvas transform matrix

readonly attribute nsIDOMSVGMatrix canvasTM
const unsigned long UPDATEMASK_CANVAS_TM = 0x00000002

Stroke opacity

readonly attribute float strokeOpacity
const unsigned long UPDATEMASK_STROKE_OPACITY = 0x00000004

Stroke width

readonly attribute float strokeWidth
const unsigned long UPDATEMASK_STROKE_WIDTH = 0x00000008

Stroke dash-array

const unsigned long UPDATEMASK_STROKE_DASH_ARRAY = 0x00000010
void getStrokeDashArray ([array, size_is(count)] out float arr, out unsigned long count)

Stroke dash-offset

readonly attribute float strokeDashoffset
const unsigned long UPDATEMASK_STROKE_DASHOFFSET = 0x00000020

Stroke line-cap

const unsigned short STROKE_LINECAP_BUTT = 0
const unsigned short STROKE_LINECAP_ROUND = 1
const unsigned short STROKE_LINECAP_SQUARE = 2
readonly attribute unsigned short strokeLinecap
const unsigned long UPDATEMASK_STROKE_LINECAP = 0x00000040

Stroke line-join

const unsigned short STROKE_LINEJOIN_MITER = 0
const unsigned short STROKE_LINEJOIN_ROUND = 1
const unsigned short STROKE_LINEJOIN_BEVEL = 2
readonly attribute unsigned short strokeLinejoin
const unsigned long UPDATEMASK_STROKE_LINEJOIN = 0x00000080

Miterlimit

readonly attribute float strokeMiterlimit
const unsigned long UPDATEMASK_STROKE_MITERLIMIT = 0x00000100

Fill opacity

readonly attribute float fillOpacity
const unsigned long UPDATEMASK_FILL_OPACITY = 0x00000200

Fill rule

const unsigned short FILL_RULE_NONZERO = 0
const unsigned short FILL_RULE_EVENODD = 1
readonly attribute unsigned short fillRule
readonly attribute unsigned short clipRule
const unsigned long UPDATEMASK_FILL_RULE = 0x00000400

Paint type constants for stroke and fill paint

const unsigned short PAINT_TYPE_NONE = 0
const unsigned short PAINT_TYPE_SOLID_COLOR = 1
const unsigned short PAINT_TYPE_SERVER = 2
const unsigned short PAINT_TYPE_GRADIENT = 3
const unsigned short PAINT_TYPE_PATTERN = 4

Stroke paint

readonly attribute unsigned short strokePaintType
const unsigned long UPDATEMASK_STROKE_PAINT_TYPE = 0x00000800
readonly attribute unsigned short strokePaintServerType
readonly attribute nscolor strokePaint
const unsigned long UPDATEMASK_STROKE_PAINT = 0x00001000
void GetStrokeGradient (out nsISVGGradient aGrad)

Fill paint

readonly attribute unsigned short fillPaintType
const unsigned long UPDATEMASK_FILL_PAINT_TYPE = 0x00004000
readonly attribute unsigned short fillPaintServerType
readonly attribute nscolor fillPaint
const unsigned long UPDATEMASK_FILL_PAINT = 0x00008000
void GetFillGradient (out nsISVGGradient aGrad)

Path description

const unsigned long UPDATEMASK_PATH = 0x00008000
void constructPath (in nsISVGRendererPathBuilder pathBuilder)
 Write a description of the path to the 'pathBuilder'.

Hittest mode of operation

const unsigned short HITTEST_MASK_FILL = 0x0001
const unsigned short HITTEST_MASK_STROKE = 0x0002
readonly attribute unsigned short hittestMask
 Determines mode of operation expected of the nsISVGRendererPathGeometry::containsPoint() method.
const unsigned long UPDATEMASK_HITTEST_MASK = 0x00010000

Shape rendering hints

const unsigned short SHAPE_RENDERING_AUTO = 0
const unsigned short SHAPE_RENDERING_OPTIMIZESPEED = 1
const unsigned short SHAPE_RENDERING_CRISPEDGES = 2
const unsigned short SHAPE_RENDERING_GEOMETRICPRECISION = 3
readonly attribute unsigned short shapeRendering

Member Function Documentation

Write a description of the path to the 'pathBuilder'.

Parameters:
pathBuilderObject to write path description to.
void nsISVGGeometrySource::getStrokeDashArray ( [array, size_is(count)] out float  arr,
out unsigned long  count 
) [inherited]

Member Data Documentation

Definition at line 94 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::clipRule [inherited]

Definition at line 181 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_EVENODD = 1 [inherited]

Definition at line 178 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::FILL_RULE_NONZERO = 0 [inherited]

Definition at line 177 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::fillOpacity [inherited]

Definition at line 168 of file nsISVGGeometrySource.idl.

Definition at line 235 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintServerType [inherited]

Definition at line 231 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillPaintType [inherited]

Definition at line 226 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::fillRule [inherited]

Definition at line 180 of file nsISVGGeometrySource.idl.

Definition at line 88 of file nsISVGPathGeometrySource.idl.

Definition at line 89 of file nsISVGPathGeometrySource.idl.

Determines mode of operation expected of the nsISVGRendererPathGeometry::containsPoint() method.

A combination of the 'HITTEST_MASK_*' constants defined in this interface.

Definition at line 97 of file nsISVGPathGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_GRADIENT = 3 [inherited]

Definition at line 193 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_NONE = 0 [inherited]

Definition at line 190 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_PATTERN = 4 [inherited]

Definition at line 194 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SERVER = 2 [inherited]

Definition at line 192 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::PAINT_TYPE_SOLID_COLOR = 1 [inherited]

Definition at line 191 of file nsISVGGeometrySource.idl.

Definition at line 86 of file nsISVGGeometrySource.idl.

Definition at line 112 of file nsISVGPathGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_BUTT = 0 [inherited]

Definition at line 135 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_ROUND = 1 [inherited]

Definition at line 136 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINECAP_SQUARE = 2 [inherited]

Definition at line 137 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_BEVEL = 2 [inherited]

Definition at line 150 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_MITER = 0 [inherited]

Definition at line 148 of file nsISVGGeometrySource.idl.

const unsigned short nsISVGGeometrySource::STROKE_LINEJOIN_ROUND = 1 [inherited]

Definition at line 149 of file nsISVGGeometrySource.idl.

Definition at line 127 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinecap [inherited]

Definition at line 139 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokeLinejoin [inherited]

Definition at line 152 of file nsISVGGeometrySource.idl.

Definition at line 160 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeOpacity [inherited]

Definition at line 102 of file nsISVGGeometrySource.idl.

Definition at line 210 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintServerType [inherited]

Definition at line 206 of file nsISVGGeometrySource.idl.

readonly attribute unsigned short nsISVGGeometrySource::strokePaintType [inherited]

Definition at line 201 of file nsISVGGeometrySource.idl.

readonly attribute float nsISVGGeometrySource::strokeWidth [inherited]

Definition at line 110 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_ALL = 0xFFFFFFFF [inherited]

Definition at line 79 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_CANVAS_TM = 0x00000002 [inherited]

Definition at line 95 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_OPACITY = 0x00000200 [inherited]

Definition at line 169 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT = 0x00008000 [inherited]

Definition at line 243 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_PAINT_TYPE = 0x00004000 [inherited]

Definition at line 227 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_FILL_RULE = 0x00000400 [inherited]

Definition at line 182 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_NOTHING = 0x00000000 [inherited]

Definition at line 78 of file nsISVGGeometrySource.idl.

Definition at line 79 of file nsISVGPathGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_PRES_CONTEXT = 0x00000001 [inherited]

Definition at line 87 of file nsISVGGeometrySource.idl.

Definition at line 120 of file nsISVGGeometrySource.idl.

Definition at line 128 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINECAP = 0x00000040 [inherited]

Definition at line 140 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_LINEJOIN = 0x00000080 [inherited]

Definition at line 153 of file nsISVGGeometrySource.idl.

Definition at line 161 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_OPACITY = 0x00000004 [inherited]

Definition at line 103 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_PAINT = 0x00001000 [inherited]

Definition at line 218 of file nsISVGGeometrySource.idl.

Definition at line 202 of file nsISVGGeometrySource.idl.

const unsigned long nsISVGGeometrySource::UPDATEMASK_STROKE_WIDTH = 0x00000008 [inherited]

Definition at line 111 of file nsISVGGeometrySource.idl.

interface nsISVGRectangleSink

Interface handed to nsISVGRendererRegion::getRectangleScans() to obtain an approximation of the region with rectangles.

Definition at line 51 of file nsISVGRectangleSink.idl.

Inheritance diagram for nsISVGRectangleSink:
Collaboration diagram for nsISVGRectangleSink:

Public Member Functions

void sinkRectangle (in float x, in float y, in float width, in float height)

Member Function Documentation

void nsISVGRectangleSink::sinkRectangle ( in float  x,
in float  y,
in float  width,
in float  height 
)
interface nsISVGRendererSurface

One of a number of interfaces (all starting with nsISVGRenderer*) to be implemented by an SVG rendering engine.

See nsISVGRenderer for more details.

This interface abstracts a rendering engine-native surface object.

Definition at line 53 of file nsISVGRendererSurface.idl.

Inheritance diagram for nsISVGRendererSurface:
Collaboration diagram for nsISVGRendererSurface:

Public Member Functions

void getData ([array, size_is(length)] out PRUint8 bits, out unsigned long length, out long stride)
void lock ()
void unlock ()

Public Attributes

readonly attribute unsigned long width
readonly attribute unsigned long height

Member Function Documentation

void nsISVGRendererSurface::getData ( [array, size_is(length)] out PRUint8  bits,
out unsigned long  length,
out long  stride 
)

Member Data Documentation

Definition at line 56 of file nsISVGRendererSurface.idl.

Definition at line 55 of file nsISVGRendererSurface.idl.