nsISVGPathGeometrySource

IID:73c9350e-6b0b-4458-aa24-aa5333476eff
Inherits From:nsISVGGeometrySource

\addtogroup rendering_backend_interfaces Rendering Backend Interfaces 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).


Constants

PRUint32 UPDATEMASK_PATH = 32768
PRUint16 HITTEST_MASK_FILL = 1
PRUint16 HITTEST_MASK_STROKE = 2
PRUint32 UPDATEMASK_HITTEST_MASK = 65536
PRUint16 SHAPE_RENDERING_AUTO = 0
PRUint16 SHAPE_RENDERING_OPTIMIZESPEED = 1
PRUint16 SHAPE_RENDERING_CRISPEDGES = 2
PRUint16 SHAPE_RENDERING_GEOMETRICPRECISION = 3

Properties

readonly PRUint16 hittestMask

Determines mode of operation expected of the nsISVGRendererPathGeometry::containsPoint() method. A combination of the 'HITTEST_MASK_*' constants defined in this interface.

readonly PRUint16 shapeRendering


Methods

void constructPath ( nsISVGRendererPathBuilder pathBuilder )

void constructPath ( nsISVGRendererPathBuilder pathBuilder )

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

Arguments:
pathBuilder: Object to write path description to.

References

This interface is passed as an argument to the following methods:

nsISVGRenderer.createPathGeometry

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com