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; }
protected virtual void Dispose(bool disposing) { this._bitmap = null; }
internal void Close() { this._bitmap = null; }
internal DrawingContext(GHIElectronics.TinyCLR.UI.Bitmap bmp) { this._bitmap = bmp; }