SKBitmap

Undocumented in source.
class SKBitmap : SKObject , ISKSkipObjectRegistration {}

Constructors

this
this(void* handle, bool owns)
Undocumented in source.
this
this()
Undocumented in source.
this
this(int width, int height, bool isOpaque)
Undocumented in source.
this
this(int width, int height, SKColorType colorType, SKAlphaType alphaType)
Undocumented in source.
this
this(int width, int height, SKColorType colorType, SKAlphaType alphaType, SKColorSpace colorspace)
Undocumented in source.
this
this(SKImageInfo info)
Undocumented in source.
this
this(SKImageInfo info, int rowBytes)
Undocumented in source.
this
this(SKImageInfo info, SKColorTable ctable, SKBitmapAllocFlags flags)
Undocumented in source.
this
this(SKImageInfo info, SKBitmapAllocFlags flags)
Undocumented in source.
this
this(SKImageInfo info, SKColorTable ctable)
Undocumented in source.

Members

Functions

AlphaType
SKAlphaType AlphaType()
Undocumented in source. Be warned that the author may not have intended to support it.
ByteCount
int ByteCount()
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.
CanCopyTo
bool CanCopyTo(SKColorType colorType)
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.
ColorType
SKColorType ColorType()
Undocumented in source. Be warned that the author may not have intended to support it.
Copy
SKBitmap Copy()
Undocumented in source. Be warned that the author may not have intended to support it.
Copy
SKBitmap Copy(SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
CopyTo
bool CopyTo(SKBitmap destination)
Undocumented in source. Be warned that the author may not have intended to support it.
CopyTo
bool CopyTo(SKBitmap destination, 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.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
DrawsNothing
bool DrawsNothing()
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKEncodedImageFormat format, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
bool Encode(SKWStream dst, SKEncodedImageFormat format, int quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
void Erase(SKColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
Erase
void Erase(SKColor color, SKRectI rect)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractAlpha
bool ExtractAlpha(SKBitmap destination)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractAlpha
bool ExtractAlpha(SKBitmap destination, SKPointI offset)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractAlpha
bool ExtractAlpha(SKBitmap destination, SKPaint paint)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractAlpha
bool ExtractAlpha(SKBitmap destination, SKPaint paint, SKPointI offset)
Undocumented in source. Be warned that the author may not have intended to support it.
ExtractSubset
bool ExtractSubset(SKBitmap destination, SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
GetAddr
void* GetAddr(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetAddr16
ushort GetAddr16(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetAddr32
uint GetAddr32(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetAddr8
byte GetAddr8(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetAddress
void* GetAddress(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
GetPixel
SKColor GetPixel(int x, int y)
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(size_t length)
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.
InstallMaskPixels
bool InstallMaskPixels(SKMask mask)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels, int rowBytes, SKColorTable ctable)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels, int rowBytes, SKColorTable ctable, SKBitmapReleaseDelegate releaseProc, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels, int rowBytes, SKBitmapReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKImageInfo info, void* pixels, int rowBytes, SKBitmapReleaseDelegate releaseProc, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.
InstallPixels
bool InstallPixels(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
IsEmpty
bool IsEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
IsImmutable
bool IsImmutable()
Undocumented in source. Be warned that the author may not have intended to support it.
IsNull
bool IsNull()
Undocumented in source. Be warned that the author may not have intended to support it.
IsVolatile
bool IsVolatile()
Undocumented in source. Be warned that the author may not have intended to support it.
IsVolatile
void IsVolatile(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
NotifyPixelsChanged
void NotifyPixelsChanged()
Undocumented in source. Be warned that the author may not have intended to support it.
PeekPixels
SKPixmap PeekPixels()
Undocumented in source. Be warned that the author may not have intended to support it.
PeekPixels
bool PeekPixels(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
Pixels
SKColor[] Pixels()
Undocumented in source. Be warned that the author may not have intended to support it.
Pixels
void Pixels(SKColor[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
ReadyToDraw
bool ReadyToDraw()
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.
Resize
SKBitmap Resize(SKImageInfo info, SKBitmapResizeMethod method)
Undocumented in source. Be warned that the author may not have intended to support it.
Resize
bool Resize(SKBitmap dst, SKBitmapResizeMethod method)
Undocumented in source. Be warned that the author may not have intended to support it.
Resize
SKBitmap Resize(SKImageInfo info, SKFilterQuality quality)
Undocumented in source. Be warned that the author may not have intended to support it.
Resize
SKBitmap Resize(SKSizeI size, SKFilterQuality quality)
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(SKBitmap destination, SKFilterQuality quality)
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.
SetColorTable
void SetColorTable(SKColorTable ct)
Undocumented in source. Be warned that the author may not have intended to support it.
SetImmutable
void SetImmutable()
Undocumented in source. Be warned that the author may not have intended to support it.
SetPixel
void SetPixel(int x, int y, SKColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
SetPixels
void SetPixels(void* pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
SetPixels
void SetPixels(void* pixels, SKColorTable ct)
Undocumented in source. Be warned that the author may not have intended to support it.
ToShader
SKShader ToShader()
Undocumented in source. Be warned that the author may not have intended to support it.
ToShader
SKShader ToShader(SKShaderTileMode tmx, SKShaderTileMode tmy)
Undocumented in source. Be warned that the author may not have intended to support it.
ToShader
SKShader ToShader(SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
TryAllocPixels
bool TryAllocPixels(SKImageInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
TryAllocPixels
bool TryAllocPixels(SKImageInfo info, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
TryAllocPixels
bool TryAllocPixels(SKImageInfo info, SKBitmapAllocFlags flags)
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.

Static functions

Decode
SKBitmap Decode(SKCodec codec)
Undocumented in source. Be warned that the author may not have intended to support it.
Decode
SKBitmap Decode(SKCodec codec, SKImageInfo bitmapInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
Decode
SKBitmap Decode(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
Decode
SKBitmap Decode(string filename, SKImageInfo bitmapInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
Decode
SKBitmap Decode(byte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
Decode
SKBitmap Decode(byte[] buffer, SKImageInfo bitmapInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
DecodeBounds
SKImageInfo DecodeBounds(SKStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
DecodeBounds
SKImageInfo DecodeBounds(SKData data)
Undocumented in source. Be warned that the author may not have intended to support it.
DecodeBounds
SKImageInfo DecodeBounds(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
FromImage
SKBitmap FromImage(SKImage image)
Undocumented in source. Be warned that the author may not have intended to support it.
Resize
bool Resize(SKBitmap dst, SKBitmap src, SKBitmapResizeMethod method)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ColorTable
SKColorTable ColorTable;
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