GraphicsContainerRasterizer Class

Represents a pipeline element that rasterizes a GraphicsContainer into a bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public sealed class GraphicsContainerRasterizer : PipelineElement

Remarks

Like ImageGenerator, this class is a pipeline element: pass it to a Pipeline to rasterize large containers in a memory-efficient, stripe-based way. It also exposes Rasterize() as a convenience for getting the whole result as a single bitmap without wiring up a pipeline yourself. ImageGenerator is the broader class - it can also generate a blank bitmap from just a size, and its constructors respect that size whether or not a container is involved. GraphicsContainerRasterizer is narrower and always rasterizes a container, but adds TargetDpiX and TargetDpiY, which let you rasterize at a resolution other than the container's own - useful for producing a fast on-screen preview instead of full-resolution output.

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.PipelineElement
L Aurigma.GraphicsMill.GraphicsContainerRasterizer

See Also

Reference