\addtogroup renderer_interfaces Rendering Engine Interfaces
@{
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 canvas object
onto which path and glyph geometries can be painted.
A canvas object is instantiated by the backend for a given
Mozilla-native rendering object with a call to
nsISVGRenderer::createCanvas().
[uuid(2e64a227-de4b-4a69-ab82-5dda1579e90f)]
Constants
Attributes
Methods
Surface composition.
void
compositeSurface(in nsISVGRendererSurface surface, in unsigned long x, in unsigned long y, in float opacity)
void
compositeSurfaceMatrix(in nsISVGRendererSurface surface, in nsIDOMSVGMatrix canvasTM, in float opacity)
Ensure that all renderings on the canvas have been flushed to the Mozilla-native rendering context.
Lock a portion of the canvas and obtain a rendering context onto which Mozilla can paint non-svg content. This is needed for (partial) foreignObject support. lockRenderingContext() calls are paired with unlockRenderingContext() calls. @param rect Area to be locked. @return Mozilla-native rendering context for the locked area.
Push/Pop surface as primary drawing surface.
Set rectangular clip region.
void
setClipRect(in nsIDOMSVGMatrix canvasTM, in float x, in float y, in float width, in float height)