From 279f17ac0e1b3d019c2b294098e834d249376686 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 4 Jun 2019 20:49:16 -0400 Subject: Update chickadee manual. --- manuals/chickadee/Lines-and-Shapes.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'manuals/chickadee/Lines-and-Shapes.html') diff --git a/manuals/chickadee/Lines-and-Shapes.html b/manuals/chickadee/Lines-and-Shapes.html index 05ad725..31b0a9d 100644 --- a/manuals/chickadee/Lines-and-Shapes.html +++ b/manuals/chickadee/Lines-and-Shapes.html @@ -1,6 +1,6 @@ - @@ -94,14 +96,14 @@ Next: , Previous: <
-

2.3.5 Lines and Shapes

+

2.3.4 Lines and Shapes

Sprites are fun, but sometimes simple, untextured lines and polygons are desired. That’s where the (chickadee render shapes) module comes in!

-
Procedure: draw-line start end [#:thickness 0.5] [#:feather 1.0] [#:cap round] [#:color] [#:shader]
+
Procedure: draw-line start end [#:thickness 0.5] [#:feather 1.0] [#:cap round] [#:color] [#:shader]

Draw a line segment from start to end. The line will be thickness pixels thick with an antialiased border feather @@ -114,7 +116,7 @@ shader.

-
Procedure: draw-bezier-curve bezier [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]
+
Procedure: draw-bezier-curve bezier [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]

Draw the curve defined by bezier using a resolution of N segments. When control-points? is #t, the control @@ -132,7 +134,7 @@ control over the final output.

-
Procedure: draw-bezier-path path [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]
+
Procedure: draw-bezier-path path [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]

Render path, a list of bezier curves. See the documentation for draw-bezier-curve for an explanation of all the keyword -- cgit v1.2.3