Class X11SurfaceProvider
Namespace: VelloSharp.Avalonia.Core.Surface.Providers
Assembly: VelloSharp.Avalonia.Core.dll
public sealed class X11SurfaceProvider : IVelloWinitSurfaceProvider
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
RenderScaling
Gets the render scaling factor applied to drawing commands.
public double RenderScaling { get; }
Property Value
SurfacePixelSize
Gets the current pixel size of the swapchain surface.
public PixelSize SurfacePixelSize { get; }
Property Value
PixelSize
Methods
CreateSurfaceHandle()
Creates a Vello surface handle describing the underlying native window.
public SurfaceHandle CreateSurfaceHandle()
Returns
PrePresent()
Notifies the underlying window that presentation is about to occur.
public void PrePresent()
RequestRedraw()
Requests a redraw from the host event loop.
public void RequestRedraw()
TryCreate(INativePlatformHandleSurface)
public static X11SurfaceProvider? TryCreate(INativePlatformHandleSurface surface)
Parameters
surface INativePlatformHandleSurface