C# Class SkiaSharp.SKCodec

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

Public Methods

Method Description
Create ( SKData data ) : SKCodec
Create ( SKStream stream ) : SKCodec
GetPixels ( SKImageInfo info, IntPtr pixels ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
GetPixels ( SKImageInfo info, byte &pixels ) : SKCodecResult
GetPixels ( byte &pixels ) : SKCodecResult
GetScaledDimensions ( float desiredScale ) : SKSizeI
GetValidSubset ( SKRectI &desiredSubset ) : bool
IncrementalDecode ( ) : SKCodecResult
IncrementalDecode ( int &rowsDecoded ) : SKCodecResult
StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKCodecResult
StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options ) : SKCodecResult
StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKCodec ( IntPtr handle, bool owns ) : System

Method Details

Create() public static method

public static Create ( SKData data ) : SKCodec
data SKData
return SKCodec

Create() public static method

public static Create ( SKStream stream ) : SKCodec
stream SKStream
return SKCodec

Dispose() protected method

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

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
colorTable System.IntPtr
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
options SKCodecOptions
colorTable System.IntPtr
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
options SKCodecOptions
colorTable SKColorTable
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
colorTable SKColorTable
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
colorTable System.IntPtr
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
colorTable SKColorTable
colorTableCount int
return SKCodecResult

GetPixels() public method

public GetPixels ( SKImageInfo info, byte &pixels ) : SKCodecResult
info SKImageInfo
pixels byte
return SKCodecResult

GetPixels() public method

public GetPixels ( byte &pixels ) : SKCodecResult
pixels byte
return SKCodecResult

GetScaledDimensions() public method

public GetScaledDimensions ( float desiredScale ) : SKSizeI
desiredScale float
return SKSizeI

GetValidSubset() public method

public GetValidSubset ( SKRectI &desiredSubset ) : bool
desiredSubset SKRectI
return bool

IncrementalDecode() public method

public IncrementalDecode ( ) : SKCodecResult
return SKCodecResult

IncrementalDecode() public method

public IncrementalDecode ( int &rowsDecoded ) : SKCodecResult
rowsDecoded int
return SKCodecResult

StartIncrementalDecode() public method

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
return SKCodecResult

StartIncrementalDecode() public method

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
return SKCodecResult

StartIncrementalDecode() public method

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
colorTable System.IntPtr
colorTableCount int
return SKCodecResult

StartIncrementalDecode() public method

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
colorTable SKColorTable
colorTableCount int
return SKCodecResult