sk_pixmap

Types

SkPixmap = ref object of SkObject[sk_pixmap_t]
  Source Edit

Procs

proc newSkPixmap(): SkPixmap {...}{.raises: [], tags: [].}
  Source Edit
proc newSkPixmap(info: SkImageInfo; pixels: pointer; rowBytes: int): SkPixmap {...}{.
    raises: [], tags: [].}
  Source Edit
proc dispose(this: SkPixmap) {...}{.raises: [], tags: [].}
  Source Edit
proc pixels(this: SkPixmap): pointer {...}{.raises: [], tags: [].}
  Source Edit
proc colorspace(this: SkPixmap): SkColorSpace {...}{.raises: [], tags: [].}
  Source Edit
proc withAlphaType(this: SkPixmap; alphaType: SkAlphaType): SkPixmap {...}{.raises: [],
    tags: [].}
  Source Edit
proc withColorSpace(this: SkPixmap; colorspace: SkColorSpace): SkPixmap {...}{.raises: [],
    tags: [].}
  Source Edit
proc readPixels(this: SkPixmap; dstInfo: SkImageInfo; dstPixels: pointer;
               dstRowBytes: int; srcX: int; srcY: int;
               behavior: SkTransferFunctionBehavior): bool {...}{.raises: [], tags: [].}
  Source Edit
proc readPixels(this: SkPixmap; dst: SkPixmap): bool {...}{.raises: [], tags: [].}
  Source Edit
proc `[]`(this: SkPixmap; x, y: int): SkColor {...}{.raises: [], tags: [].}
  Source Edit
proc getPixel(this: SkPixmap; x, y: int): SkColor {...}{.raises: [], tags: [].}
  Source Edit

Templates

template info(this: SkPixmap): SkImageInfo
  Source Edit
template rowBytes(this: SkPixmap): int
  Source Edit
template alphaType(this: SkPixmap): SkAlphaType
  Source Edit
template colorType(this: SkPixmap): SkColorType
  Source Edit