sk_paint

Types

SkPaint = ref object
  native*: ptr sk_paint_t
  Source Edit

Procs

proc dispose(this: SkPaint) {...}{.raises: [], tags: [].}
  Source Edit
proc antialias=(this: SkPaint; enabled: bool) {...}{.raises: [], tags: [].}
  Source Edit
proc color=(this: SkPaint; color: SkColor) {...}{.raises: [], tags: [].}
  Source Edit
proc color=(this: SkPaint; argb: (int, int, int, int)) {...}{.raises: [], tags: [].}
  Source Edit
proc style=(this: SkPaint; style: SkPaintStyle) {...}{.raises: [], tags: [].}
  Source Edit
proc isStroke(this: SkPaint): bool {...}{.raises: [], tags: [].}
  Source Edit
proc shader=(this: SkPaint; shader: SkShader) {...}{.raises: [], tags: [].}
  Source Edit
proc shader(this: SkPaint): SkShader {...}{.raises: [], tags: [].}
  Source Edit
proc pathEffect=(this: SkPaint; pathEffect: SkPathEffect) {...}{.raises: [], tags: [].}
  Source Edit
proc strokeWidth=(this: SkPaint; strokeWidth: float) {...}{.raises: [], tags: [].}
  Source Edit
proc miterWidth=(this: SkPaint; miterWidth: float) {...}{.raises: [], tags: [].}
  Source Edit
proc strokeCap=(this: SkPaint; capType: SkStrokeCap) {...}{.raises: [], tags: [].}
  Source Edit
proc joinCap=(this: SkPaint; jointType: SkStrokeJoin) {...}{.raises: [], tags: [].}
  Source Edit
proc measureText(this: SkPaint; text: pointer; length: int; cbounds: SkRect): float {...}{.
    raises: [], tags: [].}
  Source Edit
proc measureText(this: SkPaint; text: string; length: int; cbounds: SkRect): float {...}{.
    raises: [], tags: [].}
  Source Edit
proc measureText(this: SkPaint; text: string): float {...}{.raises: [], tags: [].}
  Source Edit
proc measureText(this: SkPaint; text: string; cbounds: var SkRect) {...}{.raises: [], tags: [].}
  Source Edit
proc measureTextBounds(this: SkPaint; text: string): SkRect {...}{.raises: [], tags: [].}
  Source Edit
proc textSize=(this: SkPaint; textSize: float) {...}{.raises: [], tags: [].}
  Source Edit
proc textAlign=(this: SkPaint; align: SkTextAlign) {...}{.raises: [], tags: [].}
  Source Edit
proc newSkPaint(): SkPaint {...}{.raises: [], tags: [].}
  Source Edit
proc newSkPaint(color: SkColor): SkPaint {...}{.raises: [], tags: [].}
  Source Edit
proc newSkPaint(a, r, g, b: int): SkPaint {...}{.raises: [], tags: [].}
  Source Edit

Templates

template isAntialias(this: SkPaint): bool
  Source Edit
template color(this: SkPaint): SkColor
  Source Edit
template style(this: SkPaint): SkPaintStyle
  Source Edit
template strokeWidth(this: SkPaint): float
  Source Edit
template miterWidth(this: SkPaint): float
  Source Edit
template strokeCap(this: SkPaint): SkStrokeCap
  Source Edit
template joinCap(this: SkPaint): SkStrokeJoin
  Source Edit
template textSize(this: SkPaint): float
  Source Edit
template fontSpacing(this: SkPaint): float
  Source Edit