private sk_surface_new_render_target ( |
||
context | ||
budgeted | bool | |
info | SKImageInfo | |
sampleCount | int | |
propsZero | IntPtr | |
return |
public static SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, GRSurfaceOrigin origin, SKSurfaceProperties props, bool shouldCreateWithMips) { if (context == null) { throw new ArgumentNullException(nameof(context)); } var cinfo = SKImageInfoNative.FromManaged(ref info); return(GetObject <SKSurface> (SkiaApi.sk_surface_new_render_target(context.Handle, budgeted, ref cinfo, sampleCount, origin, props?.Handle ?? IntPtr.Zero, shouldCreateWithMips))); }
public static SKSurface Create(GRContext context, bool budgeted, SKImageInfo info) { var cinfo = SKImageInfoNative.FromManaged(ref info); return(GetObject <SKSurface> (SkiaApi.sk_surface_new_render_target(context.Handle, budgeted, ref cinfo, 0, IntPtr.Zero))); }
public static SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProps props) { var cinfo = SKImageInfoNative.FromManaged(ref info); return(GetObject <SKSurface> (SkiaApi.sk_surface_new_render_target(context.Handle, budgeted, ref cinfo, sampleCount, ref props))); }
public static SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount) { return(GetObject <SKSurface> (SkiaApi.sk_surface_new_render_target(context.Handle, budgeted, ref info, sampleCount, IntPtr.Zero))); }