sk_imageinfo

Types

SkImageInfo = ref object
  native*: sk_imageinfo_t
  Source Edit

Procs

proc alphaType=(this: SkImageInfo; alphaType: SkAlphaType) {...}{.raises: [], tags: [].}
  Source Edit
proc colorType=(this: SkImageInfo; colorType: SkColorType) {...}{.raises: [], tags: [].}
  Source Edit
proc colorspace=(this: SkImageInfo; colorSpace: SkColorSpace) {...}{.raises: [], tags: [].}
  Source Edit
proc bytesPerPixel(this: SkImageInfo): int {...}{.raises: [], tags: [].}
  Source Edit
proc rowBytes(this: SkImageInfo): int {...}{.raises: [], tags: [].}
  Source Edit
proc newSkImageInfo(width: int; height: int; colorType: SkColorType;
                   alphaType: SkAlphaType; colorspace: SkColorSpace): SkImageInfo {...}{.
    raises: [], tags: [].}
  Source Edit
proc newSkImageInfo(width: int; height: int): SkImageInfo {...}{.raises: [], tags: [].}
  Source Edit
proc withColorType(this: SkImageInfo; colorType: SkColorType): SkImageInfo {...}{.
    raises: [], tags: [].}
  Source Edit
proc withAlphaType(this: SkImageInfo; alphaType: SkAlphaType): SkImageInfo {...}{.
    raises: [], tags: [].}
  Source Edit
proc withColorSpace(this: SkImageInfo; colorspace: SkColorSpace): SkImageInfo {...}{.
    raises: [], tags: [].}
  Source Edit

Templates

template width(this: SkImageInfo): int32
  Source Edit
template height(this: SkImageInfo): int32
  Source Edit
template colorType(this: SkImageInfo): SkColorType
  Source Edit
template alphaType(this: SkImageInfo): SkAlphaType
  Source Edit
template colorspace(this: SkImageInfo): SkColorSpace
  Source Edit
template platformColorType(): SkColorType
  Source Edit