diff --git a/basis/opengl/opengl-docs.factor b/basis/opengl/opengl-docs.factor index 6752c5126c..b1ea89178b 100644 --- a/basis/opengl/opengl-docs.factor +++ b/basis/opengl/opengl-docs.factor @@ -22,12 +22,12 @@ HELP: gl-line { $description "Draws a line between two points." } ; HELP: gl-fill-rect -{ $values { "loc" "a pair of integers" } { "ext" "a pair of integers" } } -{ $description "Draws a filled rectangle with top-left corner " { $snippet "loc" } " and bottom-right corner " { $snippet "ext" } "." } ; +{ $values { "dim" "a pair of integers" } } +{ $description "Draws a filled rectangle with the top-left corner at the origin and the given dimensions." } ; HELP: gl-rect -{ $values { "loc" "a pair of integers" } { "ext" "a pair of integers" } } -{ $description "Draws the outline of a rectangle with top-left corner " { $snippet "loc" } " and bottom-right corner " { $snippet "ext" } "." } ; +{ $values { "dim" "a pair of integers" } } +{ $description "Draws the outline of a rectangle with the top-left corner at the origin and the given dimensions." } ; HELP: gen-texture { $values { "id" integer } } diff --git a/basis/ui/render/render-docs.factor b/basis/ui/render/render-docs.factor index fc16ed9345..294ee1c63d 100644 --- a/basis/ui/render/render-docs.factor +++ b/basis/ui/render/render-docs.factor @@ -52,7 +52,7 @@ HELP: polygon } ; HELP: -{ $values { "color" "a color specifier" } { "points" "a sequence of points" } } +{ $values { "color" "a color specifier" } { "points" "a sequence of points" } { "polygon" polygon } } { $description "Creates a new instance of " { $link polygon } "." } ; HELP: