From 7d6d84b61069072e2be3a0b4b4c53fc46242a9bc Mon Sep 17 00:00:00 2001 From: Simon Krauter Date: Mon, 2 Oct 2023 21:34:18 -0300 Subject: [PATCH] Fix documentation in contexts.nim --- src/pixie/contexts.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixie/contexts.nim b/src/pixie/contexts.nim index 85d2951..87822b9 100644 --- a/src/pixie/contexts.nim +++ b/src/pixie/contexts.nim @@ -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].} =