ImagingRenderingBackend Class
A fully managed RenderingBackend: set it as the BrowsingContextOptions.RenderingBackend of a browsing context to rasterize its documents (see ImagingScreenshotExtensions to take screenshots), to draw its canvases and to decode its images. The display lists are drawn, and the images are decoded and encoded, by Meziantou.Framework.Imaging (no native library).
public sealed class ImagingRenderingBackend : RenderingBackendRemarks
The backend only rasterizes: the layout, the font matching and the text shaping are done by the library, and the glyphs are drawn by id at the positions the layout computed, from the same font files. No font of the system is used, and the same document gives the same pixels on every platform.
A backend can be shared by several browsing contexts and threads. It caches the fonts and the coverages of the glyphs it draws.
- Inheritance
RenderingBackendImagingRenderingBackend
Constructors
| Name | Description |
|---|---|
| ImagingRenderingBackend() | Creates a backend with the default options. |
| ImagingRenderingBackend(ImagingRenderingBackendOptions?) | Creates a backend. |
ImagingRenderingBackend overloads
ImagingRenderingBackend()
ImagingRenderingBackend.csCreates a backend with the default options.
public ImagingRenderingBackend()ImagingRenderingBackend(ImagingRenderingBackendOptions?)
ImagingRenderingBackend.csCreates a backend.
public ImagingRenderingBackend(ImagingRenderingBackendOptions? options)Parameters
optionsImagingRenderingBackendOptions?- The options, or null for the default options.
Properties
| Name | Description |
|---|---|
| Options | Gets the options of the backend. |
Options
ImagingRenderingBackend.csGets the options of the backend.
public ImagingRenderingBackendOptions Options { get; }