Interface IVelloWinitSurfaceProvider
Namespace: Avalonia.Winit
Assembly: VelloSharp.Avalonia.Winit.dll
Exposes Vello surface creation helpers for the winit window backend.
public interface IVelloWinitSurfaceProvider
Properties
RenderScaling
Gets the render scaling factor applied to drawing commands.
double RenderScaling { get; }
Property Value
SurfacePixelSize
Gets the current pixel size of the swapchain surface.
PixelSize SurfacePixelSize { get; }
Property Value
PixelSize
Methods
CreateSurfaceHandle()
Creates a Vello surface handle describing the underlying native window.
SurfaceHandle CreateSurfaceHandle()
Returns
PrePresent()
Notifies the underlying window that presentation is about to occur.
void PrePresent()
RequestRedraw()
Requests a redraw from the host event loop.
void RequestRedraw()