Exemple #1
0
        public async Task Draw(CompositionGraphicsDevice device, Object drawingLock, ContentDrawer drawer)
        {
            Debug.Assert(_surface != null);

            _drawer = drawer;
            await _drawer.Draw(device, drawingLock, _surface, _surface.Size);
        }
Exemple #2
0
 private async Task ReloadContent(CompositionGraphicsDevice device, Object drawingLock)
 {
     await _drawer.Draw(device, drawingLock, _surface, _surface.Size);
 }