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

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

            return(managedSurface);
        }