C# Class SkiaSharp.GRContext

Inheritance: SKObject
Exibir arquivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
AbandonContext ( bool releaseResources = false ) : void
Create ( GRBackend backend ) : GRContext
Create ( GRBackend backend, GRGlInterface backendContext ) : GRContext
Create ( GRBackend backend, GRGlInterface backendContext, GRContextOptions options ) : GRContext
Create ( GRBackend backend, IntPtr backendContext ) : GRContext
Create ( GRBackend backend, IntPtr backendContext, GRContextOptions options ) : GRContext
Flush ( ) : void
GetRecommendedSampleCount ( GRPixelConfig config, float dpi ) : int
GetResourceCacheLimits ( int &maxResources, long &maxResourceBytes ) : void
GetResourceCacheUsage ( int &maxResources, long &maxResourceBytes ) : void
SetResourceCacheLimits ( int maxResources, long maxResourceBytes ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Flush ( GRContextFlushBits flagsBitfield ) : void
GRContext ( IntPtr h, bool owns ) : System

Method Details

AbandonContext() public method

public AbandonContext ( bool releaseResources = false ) : void
releaseResources bool
return void

Create() public static method

public static Create ( GRBackend backend ) : GRContext
backend GRBackend
return GRContext

Create() public static method

public static Create ( GRBackend backend, GRGlInterface backendContext ) : GRContext
backend GRBackend
backendContext GRGlInterface
return GRContext

Create() public static method

public static Create ( GRBackend backend, GRGlInterface backendContext, GRContextOptions options ) : GRContext
backend GRBackend
backendContext GRGlInterface
options GRContextOptions
return GRContext

Create() public static method

public static Create ( GRBackend backend, IntPtr backendContext ) : GRContext
backend GRBackend
backendContext System.IntPtr
return GRContext

Create() public static method

public static Create ( GRBackend backend, IntPtr backendContext, GRContextOptions options ) : GRContext
backend GRBackend
backendContext System.IntPtr
options GRContextOptions
return GRContext

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

GetRecommendedSampleCount() public method

public GetRecommendedSampleCount ( GRPixelConfig config, float dpi ) : int
config GRPixelConfig
dpi float
return int

GetResourceCacheLimits() public method

public GetResourceCacheLimits ( int &maxResources, long &maxResourceBytes ) : void
maxResources int
maxResourceBytes long
return void

GetResourceCacheUsage() public method

public GetResourceCacheUsage ( int &maxResources, long &maxResourceBytes ) : void
maxResources int
maxResourceBytes long
return void

SetResourceCacheLimits() public method

public SetResourceCacheLimits ( int maxResources, long maxResourceBytes ) : void
maxResources int
maxResourceBytes long
return void