Interface IPlatformRenderInterfaceContext
[Unstable]
[PrivateApi]
public interface IPlatformRenderInterfaceContext : IOptionalFeatureProvider, IDisposable
- Inherited Members
- Extension Methods
Properties
IsLost
Indicates that the context is no longer usable. This method should be thread-safe
bool IsLost { get; }
Property Value
PublicFeatures
Exposes features that should be available for consumption while context isn't active (e. g. from the UI thread)
IReadOnlyDictionary<Type, object> PublicFeatures { get; }
Property Value
Methods
CreateOffscreenRenderTarget(PixelSize, double)
Creates an offscreen render target
IDrawingContextLayerImpl CreateOffscreenRenderTarget(PixelSize pixelSize, double scaling)
Parameters
pixelSize
PixelSizeThe size, in pixels, of the render target
scaling
doubleThe scaling which will be reported by IBitmap.Dpi
Returns
CreateRenderTarget(IEnumerable<object>)
Creates a renderer.
IRenderTarget CreateRenderTarget(IEnumerable<object> surfaces)
Parameters
surfaces
IEnumerable<object>The list of native platform surfaces that can be used for output.