GraphicsAdapter

TheArtOfDev.HtmlRenderer.WPF.Adapters

Adapter for WPF Graphics.

Inherits: RGraphics

Constructors

GraphicsAdapter(DrawingContext, RRect, bool)

Init.

g
the WPF graphics object to use
initialClip
the initial clip of the graphics
releaseGraphics
optional: if to release the graphics object on dispose (default - false)
GraphicsAdapter()

Init.

Fields

_g : DrawingContext

The wrapped WPF graphics object

_releaseGraphics : bool

if to release the graphics object on dispose