sk_surface

SkSurfaceProps

SkSurface

Types

SkSurface = ref object
  native*: ptr sk_surface_t
  canvas*: SkCanvas
  props*: SkSurfaceProps
  Source Edit
SkSurfaceProps = ref object
  native*: ptr sk_surfaceprops_t
  pixelGeometry*: SkPixelGeometry
  Source Edit

Procs

proc newSkSurfaceProps(pixelGeometry: SkPixelGeometry): SkSurfaceProps {...}{.raises: [],
    tags: [].}
  Source Edit
proc newSkSurface(info: SkImageInfo; rowBytes: int; props: SkSurfaceProps): SkSurface {...}{.
    raises: [], tags: [].}
  Source Edit
proc newSkSurface(info: SkImageInfo): SkSurface {...}{.raises: [], tags: [].}
  Source Edit
proc newSkSurface(info: SkImageInfo; rowBytes: int): SkSurface {...}{.raises: [], tags: [].}
  Source Edit
proc newSkSurface(info: SkImageInfo; props: SkSurfaceProps): SkSurface {...}{.raises: [],
    tags: [].}
  Source Edit
proc newSkSurface(ctx: GRContext; target: GRBackendRenderTarget;
                 origin: GRSurfaceOrigin; colorType: SkColorType;
                 colorspace: SkColorSpace; props: SkSurfaceProps): SkSurface {...}{.
    raises: [], tags: [].}
  Source Edit
proc dispose(this: SkSurface) {...}{.raises: [], tags: [].}
  Source Edit
proc snapshot(this: SkSurface): SkImage {...}{.raises: [], tags: [].}
  Source Edit
proc newSkSurface(context: GRContext; budgeted: bool; info: SkImageInfo): SkSurface {...}{.
    raises: [], tags: [].}
  Source Edit