Ejemplo n.º 1
0
        public async Task <IManagedSurface> CreateManagedSurfaceFromUriAsyncWorker(Uri uri, Size size)
        {
            var managedSurface = new ManagedSurface(this, uri, size);
            await managedSurface.RedrawSurface();

            return(managedSurface);
        }
Ejemplo n.º 2
0
        public IManagedSurface CreateManagedSurfaceFromUri(Uri uri, Size size)
        {
            var managedSurface = new ManagedSurface(this, uri, size);
            var ignored        = managedSurface.RedrawSurface();

            return(managedSurface);
        }