SKPixmap

Undocumented in source.
class SKPixmap : SKObject {}

Constructors

this
this(void* handle, bool owns)
Undocumented in source.
this
this()
Undocumented in source.
this
this(SKImageInfo info, void* addr)
Undocumented in source.
this
this(SKImageInfo info, void* addr, int rowBytes, SKColorTable ctable)
Undocumented in source.
this
this(SKImageInfo info, void* addr, int rowBytes)
Undocumented in source.

Members

Functions

AlphaType
SKAlphaType AlphaType()
Undocumented in source. Be warned that the author may not have intended to support it.
BytesPerPixel
int BytesPerPixel()
Undocumented in source. Be warned that the author may not have intended to support it.
BytesSize
int BytesSize()
Undocumented in source. Be warned that the author may not have intended to support it.
ColorSpace
SKColorSpace ColorSpace()
Undocumented in source. Be warned that the author may not have intended to support it.
ColorTable
SKColorTable ColorTable()
Undocumented in source. Be warned that the author may not have intended to support it.
ColorType
SKColorType ColorType()
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKEncodedImageFormat encoder, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKEncodedImageFormat encoder, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKWebpEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKWebpEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKJpegEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKJpegEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKPngEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKPngEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
bool Erase(SKColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
bool Erase(SKColor color, SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
bool Erase(SKColorF color)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
bool Erase(SKColorF color, SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractSubset
SKPixmap ExtractSubset(SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractSubset
bool ExtractSubset(SKPixmap result, SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
GetPixelColor
SKColor GetPixelColor(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetPixelSpan
const(byte)[] GetPixelSpan()
Undocumented in source. Be warned that the author may not have intended to support it.
GetPixels
void* GetPixels()
Undocumented in source. Be warned that the author may not have intended to support it.
GetPixels
void* GetPixels(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
Height
int Height()
Undocumented in source. Be warned that the author may not have intended to support it.
Info
SKImageInfo Info()
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKImageInfo dstInfo, void* dstPixels, int dstRowBytes, int srcX, int srcY, SKTransferFunctionBehavior behavior)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKImageInfo dstInfo, void* dstPixels, int dstRowBytes, int srcX, int srcY)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKImageInfo dstInfo, void* dstPixels, int dstRowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKPixmap pixmap, int srcX, int srcY)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
Rect
SKRectI Rect()
Undocumented in source. Be warned that the author may not have intended to support it.
Reset
void Reset()
Undocumented in source. Be warned that the author may not have intended to support it.
Reset
void Reset(SKImageInfo info, void* addr, int rowBytes, SKColorTable ctable)
Undocumented in source. Be warned that the author may not have intended to support it.
Reset
void Reset(SKImageInfo info, void* addr, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
RowBytes
int RowBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
ScalePixels
bool ScalePixels(SKPixmap destination, SKFilterQuality quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Size
SKSizeI Size()
Undocumented in source. Be warned that the author may not have intended to support it.
Width
int Width()
Undocumented in source. Be warned that the author may not have intended to support it.
WithAlphaType
SKPixmap WithAlphaType(SKAlphaType newAlphaType)
Undocumented in source. Be warned that the author may not have intended to support it.
WithColorSpace
SKPixmap WithColorSpace(SKColorSpace newColorSpace)
Undocumented in source. Be warned that the author may not have intended to support it.
WithColorType
SKPixmap WithColorType(SKColorType newColorType)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Encode
bool Encode(SKWStream dst, SKBitmap src, SKEncodedImageFormat format, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKPixmap src, SKEncodedImageFormat encoder, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKPixmap src, SKWebpEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKPixmap src, SKJpegEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKPixmap src, SKPngEncoderOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
Resize
bool Resize(SKPixmap dst, SKPixmap src, SKBitmapResizeMethod method)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

pixelSource
SKObject pixelSource;
Undocumented in source.

Inherited Members

From SKObject

Handle
void* Handle()
Undocumented in source. Be warned that the author may not have intended to support it.
Handle
void Handle(void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
registerOwnedObject
void registerOwnedObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
registerKeepAliveObject
void registerKeepAliveObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeUnownedManaged
void DisposeUnownedManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, bool unrefExisting, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
RegisterHandle
void RegisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
DeregisterHandle
void DeregisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
GetInstance
bool GetInstance(void* handle, TSkiaObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
PreventPublicDisposal
void PreventPublicDisposal()
Undocumented in source. Be warned that the author may not have intended to support it.
RevokeOwnership
void RevokeOwnership(SKObject newOwner)
Undocumented in source. Be warned that the author may not have intended to support it.
OwnedBy
T OwnedBy(T child, SKObject owner)
Undocumented in source. Be warned that the author may not have intended to support it.
Owned
T Owned(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
Referenced
T Referenced(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
PtrToStructureArray
T[] PtrToStructureArray(void* intPtr, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta