import "nsISVGRenderer.idl";
Inheritance diagram for nsISVGRenderer:
[legend]List of all members.
Detailed Description
One of a number of interfaces (all starting with nsISVGRenderer*) to be implemented by an SVG rendering engine.
This interface serves as a factory for rendering engine-related objects. Each rendering engine needs to make available an nsIRenderer-object with a contract id of the form "@mozilla.org/svg/renderer;1?tech=NAME".
Engines implemented at the moment include an ms windows gdi+ engine ("@mozilla.org/svg/renderer;1?tech=GDIPLUS") and a (somewhat) cross-platform libart engine ("@mozilla.org/svg/renderer;1?tech=LIBART").
Definition at line 79 of file nsISVGRenderer.idl.
Public Member Functions
Member Function Documentation
|
|
Create a rendering engine-native path geometry object for the source object given by 'src'.
- Parameters:
-
| src | The source object describing the path for which this object is being created. |
- Returns:
- A rendering engine-native path geometry object.
|
|
|
Create a rendering engine-native glyph metrics object for the source object given by 'src'.
- Parameters:
-
| src | The source object describing the glyph for which this metrics object is being created. |
- Returns:
- A rendering engine-native glyph metrics object.
|
|
|
Create a rendering engine-native glyph geometry object for the source object given by 'src'.
- Parameters:
-
| src | The source object describing the glyph for which this object is being created. |
- Returns:
- A rendering engine-native glyph geometry object.
|
| nsISVGRendererCanvas nsISVGRenderer::createCanvas |
( |
in nsIRenderingContext |
ctx, |
|
|
in nsIPresContext |
presContext, |
|
|
[const] in nsRectRef |
dirtyRect |
|
) |
|
|
|
|
Create a rendering engine-native canvas object for the Mozilla-native rendering context 'ctx' and presentation context 'presContext'.
- Parameters:
-
| ctx | Mozilla-native rendering context. |
| presContext | Presentation context. |
| dirtyRect | Area that the canvas should cover. |
- Returns:
- A rendering engine-native canvas object.
|
| nsISVGRendererRegion nsISVGRenderer::createRectRegion |
( |
in float |
x, |
|
|
in float |
y, |
|
|
in float |
width, |
|
|
in float |
height |
|
) |
|
|
|
|
Create a rendering engine-native region object for the given axis-aligned rectangle.
- Parameters:
-
| x | X-coordinate of rectangle (pixels). |
| y | Y-coordinate of rectangle (pixels). |
| width | Width of rectangle (pixels). |
| height | Height of rectangle (pixels). |
- Returns:
- A rendering engine-native region object.
|
The documentation for this interface was generated from the following file:
Generated on Wed Sep 10 22:25:41 2003 for Mozilla SVG Project Rendering Backend by
1.3