Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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