more clear
This commit is contained in:
parent
88a75ec2b2
commit
e5da43b059
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ proc ellipse*(ctx: Context, x, y, rx, ry: float32) {.inline.} =
|
||||||
ctx.path.ellipse(x, y, rx, ry)
|
ctx.path.ellipse(x, y, rx, ry)
|
||||||
|
|
||||||
proc fill*(ctx: Context, path: Path, windingRule = wrNonZero) {.inline.} =
|
proc fill*(ctx: Context, path: Path, windingRule = wrNonZero) {.inline.} =
|
||||||
## Fills the current or given path with the current fillStyle.
|
## Fills the path with the current fillStyle.
|
||||||
ctx.image.fillPath(
|
ctx.image.fillPath(
|
||||||
path,
|
path,
|
||||||
ctx.fillStyle,
|
ctx.fillStyle,
|
||||||
|
@ -127,7 +127,7 @@ proc fill*(ctx: Context, path: Path, windingRule = wrNonZero) {.inline.} =
|
||||||
)
|
)
|
||||||
|
|
||||||
proc fill*(ctx: Context, windingRule = wrNonZero) {.inline.} =
|
proc fill*(ctx: Context, windingRule = wrNonZero) {.inline.} =
|
||||||
## Fills the current or given path with the current fillStyle.
|
## Fills the current path with the current fillStyle.
|
||||||
ctx.fill(ctx.path, windingRule)
|
ctx.fill(ctx.path, windingRule)
|
||||||
|
|
||||||
proc stroke*(ctx: Context, path: Path) {.inline.} =
|
proc stroke*(ctx: Context, path: Path) {.inline.} =
|
||||||
|
|
Loading…
Reference in a new issue