C# Class SkiaSharp.SKCodec

Inheritance: SKObject
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
SKCodec ( IntPtr handle, bool owns ) : System

Method Details

Create() public static méthode

public static Create ( SKData data ) : SKCodec
data SKData
Résultat SKCodec

Create() public static méthode

public static Create ( SKStream stream ) : SKCodec
stream SKStream
Résultat SKCodec

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetPixels() public méthode

public GetPixels ( SKImageInfo info, IntPtr pixels ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
Résultat SKCodecResult

GetPixels() public méthode

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

GetPixels() public méthode

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
Résultat SKCodecResult

GetPixels() public méthode

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

GetPixels() public méthode

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

GetPixels() public méthode

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
Résultat SKCodecResult

GetPixels() public méthode

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
Résultat SKCodecResult

GetPixels() public méthode

public GetPixels ( SKImageInfo info, byte &pixels ) : SKCodecResult
info SKImageInfo
pixels byte
Résultat SKCodecResult

GetPixels() public méthode

public GetPixels ( byte &pixels ) : SKCodecResult
pixels byte
Résultat SKCodecResult

GetScaledDimensions() public méthode

public GetScaledDimensions ( float desiredScale ) : SKSizeI
desiredScale float
Résultat SKSizeI

GetValidSubset() public méthode

public GetValidSubset ( SKRectI &desiredSubset ) : bool
desiredSubset SKRectI
Résultat bool

IncrementalDecode() public méthode

public IncrementalDecode ( ) : SKCodecResult
Résultat SKCodecResult

IncrementalDecode() public méthode

public IncrementalDecode ( int &rowsDecoded ) : SKCodecResult
rowsDecoded int
Résultat SKCodecResult

StartIncrementalDecode() public méthode

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
Résultat SKCodecResult

StartIncrementalDecode() public méthode

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

StartIncrementalDecode() public méthode

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
Résultat SKCodecResult

StartIncrementalDecode() public méthode

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
Résultat SKCodecResult