C# Класс SkiaSharp.SKCodec

Наследование: SKObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
SKCodec ( IntPtr handle, bool owns ) : System

Описание методов

Create() публичный статический Метод

public static Create ( SKData data ) : SKCodec
data SKData
Результат SKCodec

Create() публичный статический Метод

public static Create ( SKStream stream ) : SKCodec
stream SKStream
Результат SKCodec

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetPixels() публичный Метод

public GetPixels ( SKImageInfo info, IntPtr pixels ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
Результат SKCodecResult

GetPixels() публичный Метод

public GetPixels ( SKImageInfo info, IntPtr pixels, IntPtr colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
colorTable System.IntPtr
colorTableCount int
Результат SKCodecResult

GetPixels() публичный Метод

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
Результат SKCodecResult

GetPixels() публичный Метод

public GetPixels ( SKImageInfo info, IntPtr pixels, SKCodecOptions options, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
options SKCodecOptions
colorTable SKColorTable
colorTableCount int
Результат SKCodecResult

GetPixels() публичный Метод

public GetPixels ( SKImageInfo info, IntPtr pixels, SKColorTable colorTable, int &colorTableCount ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
colorTable SKColorTable
colorTableCount int
Результат SKCodecResult

GetPixels() публичный Метод

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
Результат SKCodecResult

GetPixels() публичный Метод

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
Результат SKCodecResult

GetPixels() публичный Метод

public GetPixels ( SKImageInfo info, byte &pixels ) : SKCodecResult
info SKImageInfo
pixels byte
Результат SKCodecResult

GetPixels() публичный Метод

public GetPixels ( byte &pixels ) : SKCodecResult
pixels byte
Результат SKCodecResult

GetScaledDimensions() публичный Метод

public GetScaledDimensions ( float desiredScale ) : SKSizeI
desiredScale float
Результат SKSizeI

GetValidSubset() публичный Метод

public GetValidSubset ( SKRectI &desiredSubset ) : bool
desiredSubset SKRectI
Результат bool

IncrementalDecode() публичный Метод

public IncrementalDecode ( ) : SKCodecResult
Результат SKCodecResult

IncrementalDecode() публичный Метод

public IncrementalDecode ( int &rowsDecoded ) : SKCodecResult
rowsDecoded int
Результат SKCodecResult

StartIncrementalDecode() публичный Метод

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
Результат SKCodecResult

StartIncrementalDecode() публичный Метод

public StartIncrementalDecode ( SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options ) : SKCodecResult
info SKImageInfo
pixels System.IntPtr
rowBytes int
options SKCodecOptions
Результат SKCodecResult

StartIncrementalDecode() публичный Метод

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
Результат SKCodecResult

StartIncrementalDecode() публичный Метод

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
Результат SKCodecResult