/// <summary> /// Initializes a new instance of the GdiRenderer class. /// </summary> public GdiGraphicsRenderer() { counter = 0; _svgRenderer = new GdiRenderingHelper(this); backColor = Color.White; }
/// <summary> /// Initializes a new instance of the GdiRenderer class. /// </summary> public GdiGraphicsRenderer(bool isStatic = false, bool disposeRaster = true) { _isStatic = isStatic; _disposeRaster = disposeRaster; _invalidRect = SvgRectF.Empty; _backColor = Color.White; _hitTestHelper = GdiHitTestHelper.NoHit; _svgRenderer = new GdiRenderingHelper(this); }