Exemple #1
0
		public static GRContext Create (GRBackend backend, GRGlInterface backendContext, GRContextOptions options)
		{
			if (backendContext == null) {
				throw new ArgumentNullException (nameof (backendContext));
			}
			return GetObject<GRContext> (SkiaApi.gr_context_create (backend, backendContext.Handle, ref options));
		}
Exemple #2
0
 public static GRContext Create(GRBackend backend, GRGlInterface backendContext, GRContextOptions options)
 {
     if (backendContext == null)
     {
         throw new ArgumentNullException(nameof(backendContext));
     }
     return(GetObject <GRContext> (SkiaApi.gr_context_create(backend, backendContext.Handle, ref options)));
 }
Exemple #3
0
 public static GRContext Create(GRBackend backend, IntPtr backendContext, GRContextOptions options)
 {
     return(GetObject <GRContext> (SkiaApi.gr_context_create(backend, backendContext, ref options)));
 }
Exemple #4
0
		public static GRContext Create (GRBackend backend, IntPtr backendContext, GRContextOptions options)
		{
			return GetObject<GRContext> (SkiaApi.gr_context_create (backend, backendContext, ref options));
		}
Exemple #5
0
		public extern static gr_context_t gr_context_create (GRBackend backend, GRBackendContext backendContext, ref GRContextOptions options);
Exemple #6
0
 public static GRContext Create(GRBackend backend, GRGlInterface backendContext, GRContextOptions options)
 {
     return(GetObject <GRContext> (SkiaApi.gr_context_create(backend, backendContext.Handle, ref options)));
 }