nsISVGRendererRegion

IID:9356e1c6-66e6-49a0-8c67-7e910270ed1e
Inherits From:nsISupports

\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 region object.


Methods

nsISVGRendererRegion combine ( nsISVGRendererRegion other ) void getRectangleScans ( nsISVGRectangleSink sink )

nsISVGRendererRegion combine ( nsISVGRendererRegion other )

Return union of this region with another region.

Arguments:
other: Region to combine with.
Returns:
Union region.

void getRectangleScans ( nsISVGRectangleSink sink )

Write a sequence of rectangles approximating this region to the sink object. The approximation can be crude but should fully contain the actual region area.

Arguments:
sink: Rectangle sink to write to.

References

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

nsISVGRendererRegion.combine

This interface is returned from the following methods:

nsISVGRenderer.createRectRegion, nsISVGRendererGlyphGeometry.getCoveredRegion, nsISVGRendererGlyphGeometry.update, nsISVGRendererPathGeometry.getCoveredRegion, nsISVGRendererPathGeometry.update, nsISVGRendererRegion.combine

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com