internal CanvasRenderingContext2D(Window window, IHTMLCanvasElement canvas)
        {
            this.window = window;
            this.canvas = canvas;

            this.savedStates = new Stack<DrawingState>();
            this.state = new DrawingState();
        }
Beispiel #2
0
        internal CanvasRenderingContextHolographicSpace(Window window, IHTMLCanvasElement canvas)
        {
            this.window = window;
            this.canvas = canvas;

            context = CreateEglContext(window.holographicSpace, window.stationaryReferenceFrame);
            deviceContext.MakeCurrent(context);
        }
Beispiel #3
0
        internal CanvasRenderingContext2D(Window window, IHTMLCanvasElement canvas)
        {
            this.window = window;
            this.canvas = canvas;

            this.savedStates = new Stack <DrawingState>();
            this.state       = new DrawingState();
        }
 public CSSStyleDeclaration(IHTMLCanvasElement canvasElement)
 {
     _canvasElement = canvasElement;
 }
 public CanvasRenderingContext2D(Canvas surface, object container, bool visible, IHTMLCanvasElement canvasElement)
     : this(surface, container, visible)
 {
     _canvasElement = canvasElement;
 }