SKImage

Undocumented in source.
class SKImage : SKObject {}

Constructors

this
this(void* x, bool owns)
Undocumented in source.

Members

Functions

AlphaType
SKAlphaType AlphaType()
Undocumented in source. Be warned that the author may not have intended to support it.
ApplyImageFilter
SKImage ApplyImageFilter(SKImageFilter filter, SKRectI subset, SKRectI clipBounds, SKRectI outSubset, SKPoint outOffset)
Undocumented in source. Be warned that the author may not have intended to support it.
ApplyImageFilter
SKImage ApplyImageFilter(SKImageFilter filter, SKRectI subset, SKRectI clipBounds, SKRectI outSubset, SKPointI outOffset)
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.
Encode
SKData Encode()
Undocumented in source. Be warned that the author may not have intended to support it.
Encode
SKData Encode(SKPixelSerializer serializer)
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.
EncodedData
SKData EncodedData()
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.
IsAlphaOnly
bool IsAlphaOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
IsLazyGenerated
bool IsLazyGenerated()
Undocumented in source. Be warned that the author may not have intended to support it.
IsTextureBacked
bool IsTextureBacked()
Undocumented in source. Be warned that the author may not have intended to support it.
IsValid
bool IsValid(GRContext context)
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.
PeekPixels
SKPixmap PeekPixels()
Undocumented in source. Be warned that the author may not have intended to support it.
ReadPixels
bool ReadPixels(SKImageInfo dstInfo, void* dstPixels)
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(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, int srcX, int srcY, SKImageCachingHint cachingHint)
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.
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, int srcX, int srcY, SKImageCachingHint cachingHint)
Undocumented in source. Be warned that the author may not have intended to support it.
ScalePixels
bool ScalePixels(SKPixmap dst, SKFilterQuality quality)
Undocumented in source. Be warned that the author may not have intended to support it.
ScalePixels
bool ScalePixels(SKPixmap dst, SKFilterQuality quality, SKImageCachingHint cachingHint)
Undocumented in source. Be warned that the author may not have intended to support it.
Subset
SKImage Subset(SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
ToRasterImage
SKImage ToRasterImage()
Undocumented in source. Be warned that the author may not have intended to support it.
ToRasterImage
SKImage ToRasterImage(bool ensurePixelData)
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 tileX, SKShaderTileMode tileY)
Undocumented in source. Be warned that the author may not have intended to support it.
ToShader
SKShader ToShader(SKShaderTileMode tileX, SKShaderTileMode tileY, SKMatrix localMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
ToTextureImage
SKImage ToTextureImage(GRContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
ToTextureImage
SKImage ToTextureImage(GRContext context, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
ToTextureImage
SKImage ToTextureImage(GRContext context, bool mipmapped)
Undocumented in source. Be warned that the author may not have intended to support it.
UniqueId
uint UniqueId()
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

FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRGlBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTexture texture, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromAdoptedTexture
SKImage FromAdoptedTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKAlphaType alpha, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
FromBitmap
SKImage FromBitmap(SKBitmap bitmap)
Undocumented in source. Be warned that the author may not have intended to support it.
FromEncodedData
SKImage FromEncodedData(SKData data, SKRectI subset)
Undocumented in source. Be warned that the author may not have intended to support it.
FromEncodedData
SKImage FromEncodedData(SKData data)
Undocumented in source. Be warned that the author may not have intended to support it.
FromEncodedData
SKImage FromEncodedData(byte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
FromEncodedData
SKImage FromEncodedData(SKStream data)
Undocumented in source. Be warned that the author may not have intended to support it.
FromEncodedData
SKImage FromEncodedData(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPicture
SKImage FromPicture(SKPicture picture, SKSizeI dimensions)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPicture
SKImage FromPicture(SKPicture picture, SKSizeI dimensions, SKMatrix matrix)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPicture
SKImage FromPicture(SKPicture picture, SKSizeI dimensions, SKPaint paint)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPicture
SKImage FromPicture(SKPicture picture, SKSizeI dimensions, SKMatrix matrix, SKPaint paint)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, SKStream pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, SKStream pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, byte[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, void* pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, void* pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, void* pixels, int rowBytes, SKColorTable ctable)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, const(byte)[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelCopy
SKImage FromPixelCopy(SKImageInfo info, byte[] pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixelData
SKImage FromPixelData(SKImageInfo info, SKData data, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKImageInfo info, SKData data)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKImageInfo info, SKData data, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKImageInfo info, void* pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKImageInfo info, void* pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
FromPixels
SKImage FromPixels(SKPixmap pixmap, SKImageRasterReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRGlBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTexture texture, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKAlphaType alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKAlphaType alpha, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
FromTexture
SKImage FromTexture(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKAlphaType alpha, SKColorSpace colorspace, SKImageTextureReleaseDelegate releaseProc)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
SKImage GetObject(void* handle)
Undocumented in source. Be warned that the author may not have intended to support it.

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