Skip to content

Commit

Permalink
Merge pull request #546 from simonkrauter/patch-1
Browse files Browse the repository at this point in the history
Fix documentation in contexts.nim
  • Loading branch information
treeform authored Oct 5, 2023
2 parents 523b364 + 7d6d84b commit 18db66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pixie/contexts.nim
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ proc fillText*(ctx: Context, text: string, at: Vec2) {.raises: [PixieError].} =
proc fillText*(
ctx: Context, text: string, x, y: float32
) {.inline, raises: [PixieError].} =
## Draws the outlines of the characters of a text string at the specified
## coordinates.
## Draws a text string at the specified coordinates, filling the string's
## characters with the current fillStyle
ctx.fillText(text, vec2(x, y))

proc strokeText*(ctx: Context, text: string, at: Vec2) {.raises: [PixieError].} =
Expand Down

0 comments on commit 18db66a

Please sign in to comment.