in binding/SkiaSharp/SKSurface.cs [122:175]
public static SKSurface Create (GRContext context, GRBackendTexture texture, SKColorType colorType) =>
Create ((GRRecordingContext)context, texture, colorType);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType) =>
Create ((GRRecordingContext)context, texture, origin, colorType);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType) =>
Create ((GRRecordingContext)context, texture, origin, sampleCount, colorType);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace) =>
Create ((GRRecordingContext)context, texture, origin, sampleCount, colorType, colorspace);
public static SKSurface Create (GRContext context, GRBackendTexture texture, SKColorType colorType, SKSurfaceProperties props) =>
Create ((GRRecordingContext)context, texture, colorType, props);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKSurfaceProperties props) =>
Create ((GRRecordingContext)context, texture, origin, colorType, props);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKSurfaceProperties props) =>
Create ((GRRecordingContext)context, texture, origin, sampleCount, colorType, props);
public static SKSurface Create (GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace, SKSurfaceProperties props) =>
Create ((GRRecordingContext)context, texture, origin, sampleCount, colorType, colorspace, props);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, SKColorType colorType) =>
Create (context, texture, GRSurfaceOrigin.BottomLeft, 0, colorType, null, null);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType) =>
Create (context, texture, origin, 0, colorType, null, null);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType) =>
Create (context, texture, origin, sampleCount, colorType, null, null);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace) =>
Create (context, texture, origin, sampleCount, colorType, colorspace, null);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, SKColorType colorType, SKSurfaceProperties props) =>
Create (context, texture, GRSurfaceOrigin.BottomLeft, 0, colorType, null, props);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKSurfaceProperties props) =>
Create (context, texture, origin, 0, colorType, null, props);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKSurfaceProperties props) =>
Create (context, texture, origin, sampleCount, colorType, null, props);
public static SKSurface Create (GRRecordingContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace, SKSurfaceProperties props)
{
if (context == null)
throw new ArgumentNullException (nameof (context));
if (texture == null)
throw new ArgumentNullException (nameof (texture));
return GetObject (SkiaApi.sk_surface_new_backend_texture (context.Handle, texture.Handle, origin, sampleCount, colorType.ToNative (), colorspace?.Handle ?? IntPtr.Zero, props?.Handle ?? IntPtr.Zero));
}