sk_matrix

Types

SkMatrix = ref object
  native*: ptr sk_matrix_t
  Source Edit

Procs

proc newSkMatrix(scaleX, skewX, transX, skewY, scaleY, transY, persp0, persp1, persp2: float): SkMatrix {...}{.
    raises: [], tags: [].}
  Source Edit
proc newSkMatrix(): SkMatrix {...}{.raises: [], tags: [].}
  Source Edit
proc getIdentityMatrix(): SkMatrix {...}{.raises: [], tags: [].}
  Source Edit
proc newSkRotationMatrix(radians: float): SkMatrix {...}{.raises: [], tags: [].}
  Source Edit
proc newSkewMatrix(sx, sy: float): SkMatrix {...}{.raises: [], tags: [].}
  Source Edit

Converters

converter tupleToMatrix(t: (float, float, float, float, float, float, float, float, float)): SkMatrix {...}{.
    raises: [], tags: [].}
  Source Edit
converter tupleToMatrix(t: (int, int, int, int, int, int, int, int, int)): SkMatrix {...}{.
    raises: [], tags: [].}
  Source Edit

Templates

template scaleX(m: SkMatrix): float
  Source Edit
template scaleY(m: SkMatrix): float
  Source Edit
template skewX(m: SkMatrix): float
  Source Edit
template skewY(m: SkMatrix): float
  Source Edit
template transX(m: SkMatrix): float
  Source Edit
template transY(m: SkMatrix): float
  Source Edit
template persp0(m: SkMatrix): float
  Source Edit
template persp1(m: SkMatrix): float
  Source Edit
template persp2(m: SkMatrix): float
  Source Edit