sk_image

Types

SkImage = ref object
  native*: ptr sk_image_t
  Source Edit

Procs

proc dispose(this: SkImage) {...}{.raises: [], tags: [].}
  Source Edit
proc encode(this: SkImage): SkData {...}{.raises: [], tags: [].}
  Source Edit
proc readPixels(this: SkImage; dstInfo: SkImageInfo; dstPixels: pointer;
               dstRowBytes: int; srcX: int; srcY: int;
               caching: SkImageCachingHint = Allow): bool {...}{.raises: [], tags: [].}
  Source Edit
proc readPixels(this: SkImage; dstInfo: SkImageInfo; dstPixels: pointer): bool {...}{.
    raises: [], tags: [].}
  Source Edit

Templates

template width(this: SkImage): int
  Source Edit
template height(this: SkImage): int
  Source Edit
template alphaType(this: SkImage): SkAlphaType
  Source Edit
template uniqueID(this: SkImage): uint32
  Source Edit