コード例 #1
0
        internal MediaContext()
        {
            this._renderMessage = new DispatcherOperationCallback(this.RenderMessageHandler);
            DisplayController displayController = WindowManager.Instance.DisplayController;

            this._target  = WindowManager.Instance;
            this._screen  = new GHIElectronics.TinyCLR.UI.Bitmap(Graphics.FromHdc(displayController.Hdc));
            this._screenW = (int)displayController.ActiveSettings.Width;
            this._screenH = (int)displayController.ActiveSettings.Height;
            this._dirtyX0 = (int)displayController.ActiveSettings.Width;
            this._dirtyY0 = (int)displayController.ActiveSettings.Height;
        }
コード例 #2
0
 protected virtual void Dispose(bool disposing)
 {
     this._bitmap = null;
 }
コード例 #3
0
 internal void Close()
 {
     this._bitmap = null;
 }
コード例 #4
0
 internal DrawingContext(GHIElectronics.TinyCLR.UI.Bitmap bmp)
 {
     this._bitmap = bmp;
 }