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 : RenderingBackend

Remarks

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
RenderingBackend ImagingRenderingBackend

Constructors

NameDescription
ImagingRenderingBackend()Creates a backend with the default options.
ImagingRenderingBackend(ImagingRenderingBackendOptions?)Creates a backend.

ImagingRenderingBackend overloads

ImagingRenderingBackend()

ImagingRenderingBackend.cs

Creates a backend with the default options.

public ImagingRenderingBackend()

ImagingRenderingBackend(ImagingRenderingBackendOptions?)

ImagingRenderingBackend.cs

Creates a backend.

public ImagingRenderingBackend(ImagingRenderingBackendOptions? options)
Parameters
options ImagingRenderingBackendOptions?
The options, or null for the default options.

Properties

NameDescription
OptionsGets the options of the backend.

Gets the options of the backend.

public ImagingRenderingBackendOptions Options { get; }