internal VGState(VGDevice device) { IsActive = false; Device = device; Projection = new VGMatrixStack(2); ImageToSurface = new VGMatrixStack(2); GlyphToSurface = new VGMatrixStack(3); PathToSurface = new VGMatrixStack(4); PathToFillPaint = new VGMatrixStack(4); PathToTextPaint = new VGMatrixStack(4); PathToStrokePaint = new VGMatrixStack(4); ColorTransformation = new VGCxFormStack(4); SetAntialiasing(VGAntialiasing.Better); ResetDefaultValues(); }
internal VGCxFormStack(VGCxFormStack other) { CxForms = new Stack<VGCxForm>(other.CxForms.Reverse()); }