SKSurface

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

Constructors

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

Members

Functions

Canvas
SKCanvas Canvas()
Undocumented in source. Be warned that the author may not have intended to support it.
Draw
void Draw(SKCanvas canvas, float x, float y, SKPaint paint)
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.
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.
Snapshot
SKImage Snapshot()
Undocumented in source. Be warned that the author may not have intended to support it.
Snapshot
SKImage Snapshot(SKRectI bounds)
Undocumented in source. Be warned that the author may not have intended to support it.
SurfaceProperties
SKSurfaceProperties SurfaceProperties()
Undocumented in source. Be warned that the author may not have intended to support it.
SurfaceProps
SKSurfaceProps SurfaceProps()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Create
SKSurface Create(int width, int height, SKColorType colorType, SKAlphaType alphaType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(int width, int height, SKColorType colorType, SKAlphaType alphaType, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(int width, int height, SKColorType colorType, SKAlphaType alphaType, void* pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(int width, int height, SKColorType colorType, SKAlphaType alphaType, void* pixels, int rowBytes, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, int rowBytes, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKPixmap pixmap, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKPixmap pixmap)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKPixmap pixmap, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, void* pixels, int rowBytes, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, void* pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, void* pixels, int rowBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, void* pixels, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(SKImageInfo info, void* pixels, int rowBytes, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTargetDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTargetDesc desc, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, GRSurfaceOrigin origin, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, GRSurfaceOrigin origin, SKColorType colorType, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, GRSurfaceOrigin origin, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendRenderTarget renderTarget, GRSurfaceOrigin origin, SKColorType colorType, SKColorSpace colorspace, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRGlBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRGlBackendTextureDesc desc, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, GRSurfaceOrigin origin)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
SKSurface Create(GRContext context, bool budgeted, SKImageInfo info, int sampleCount, GRSurfaceOrigin origin, SKSurfaceProperties props, bool shouldCreateWithMips)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRGlBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTextureDesc desc)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRGlBackendTextureDesc desc, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateAsRenderTarget
SKSurface CreateAsRenderTarget(GRContext context, GRBackendTexture texture, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, SKColorSpace colorspace, SKSurfaceProperties props)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateNull
SKSurface CreateNull(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
SKSurface 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