internal RootMovieClip(FlashDocument document, ISystemServices services) : base(null, document, null) { ButtonStack = new VGMatrixStack(32); Services = services; Transparent = true; Root = this; StartTime = DateTime.Now; Document = document; Antialiasing = VGAntialiasing.Faster; GlobalScope = new GlobalScope(this); Context.RootClip = this; Context.Scope.AddFirst(GlobalScope); }
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(); }
public VGMatrixStack(VGMatrixStack other) { Matrices = new Stack<VGMatrix>(other.Matrices.Reverse()); }