C# Class SkiaSharp.SKSurface

Inheritance: SKObject
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Create ( GRContext context, GRBackendRenderTargetDesc desc ) : SKSurface
Create ( GRContext context, GRBackendRenderTargetDesc desc, SKSurfaceProps props ) : SKSurface
Create ( GRContext context, GRBackendTextureDesc desc ) : SKSurface
Create ( GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props ) : SKSurface
Create ( GRContext context, bool budgeted, SKImageInfo info ) : SKSurface
Create ( GRContext context, bool budgeted, SKImageInfo info, int sampleCount ) : SKSurface
Create ( GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProps props ) : SKSurface
Create ( SKImageInfo info ) : SKSurface
Create ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKSurface
Create ( SKImageInfo info, IntPtr pixels, int rowBytes, SKSurfaceProps props ) : SKSurface
Create ( SKImageInfo info, SKSurfaceProps props ) : SKSurface
Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType ) : SKSurface
Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes ) : SKSurface
Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes, SKSurfaceProps props ) : SKSurface
Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, SKSurfaceProps props ) : SKSurface
CreateAsRenderTarget ( GRContext context, GRBackendTextureDesc desc ) : SKSurface
CreateAsRenderTarget ( GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props ) : SKSurface
Snapshot ( ) : SKImage

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKSurface ( IntPtr h, bool owns ) : System

Method Details

Create() public static method

public static Create ( GRContext context, GRBackendRenderTargetDesc desc ) : SKSurface
context GRContext
desc GRBackendRenderTargetDesc
return SKSurface

Create() public static method

public static Create ( GRContext context, GRBackendRenderTargetDesc desc, SKSurfaceProps props ) : SKSurface
context GRContext
desc GRBackendRenderTargetDesc
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( GRContext context, GRBackendTextureDesc desc ) : SKSurface
context GRContext
desc GRBackendTextureDesc
return SKSurface

Create() public static method

public static Create ( GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props ) : SKSurface
context GRContext
desc GRBackendTextureDesc
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( GRContext context, bool budgeted, SKImageInfo info ) : SKSurface
context GRContext
budgeted bool
info SKImageInfo
return SKSurface

Create() public static method

public static Create ( GRContext context, bool budgeted, SKImageInfo info, int sampleCount ) : SKSurface
context GRContext
budgeted bool
info SKImageInfo
sampleCount int
return SKSurface

Create() public static method

public static Create ( GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProps props ) : SKSurface
context GRContext
budgeted bool
info SKImageInfo
sampleCount int
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( SKImageInfo info ) : SKSurface
info SKImageInfo
return SKSurface

Create() public static method

public static Create ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKSurface
info SKImageInfo
pixels System.IntPtr
rowBytes int
return SKSurface

Create() public static method

public static Create ( SKImageInfo info, IntPtr pixels, int rowBytes, SKSurfaceProps props ) : SKSurface
info SKImageInfo
pixels System.IntPtr
rowBytes int
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( SKImageInfo info, SKSurfaceProps props ) : SKSurface
info SKImageInfo
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType ) : SKSurface
width int
height int
colorType SKColorType
alphaType SKAlphaType
return SKSurface

Create() public static method

public static Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes ) : SKSurface
width int
height int
colorType SKColorType
alphaType SKAlphaType
pixels System.IntPtr
rowBytes int
return SKSurface

Create() public static method

public static Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes, SKSurfaceProps props ) : SKSurface
width int
height int
colorType SKColorType
alphaType SKAlphaType
pixels System.IntPtr
rowBytes int
props SKSurfaceProps
return SKSurface

Create() public static method

public static Create ( int width, int height, SKColorType colorType, SKAlphaType alphaType, SKSurfaceProps props ) : SKSurface
width int
height int
colorType SKColorType
alphaType SKAlphaType
props SKSurfaceProps
return SKSurface

CreateAsRenderTarget() public static method

public static CreateAsRenderTarget ( GRContext context, GRBackendTextureDesc desc ) : SKSurface
context GRContext
desc GRBackendTextureDesc
return SKSurface

CreateAsRenderTarget() public static method

public static CreateAsRenderTarget ( GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props ) : SKSurface
context GRContext
desc GRBackendTextureDesc
props SKSurfaceProps
return SKSurface

Dispose() protected method

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

Snapshot() public method

public Snapshot ( ) : SKImage
return SKImage