Beispiel #1
0
 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);
 }
Beispiel #2
0
        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();
        }
Beispiel #3
0
 public VGMatrixStack(VGMatrixStack other)
 {
     Matrices = new Stack<VGMatrix>(other.Matrices.Reverse());
 }