From 03f0340ae9df26b40855dd78216ff47738957851 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 19 Nov 2020 20:50:56 -0500 Subject: manuals: Update chickadee manual to 0.6.0. --- manuals/chickadee/Lines-and-Shapes.html | 137 -------------------------------- 1 file changed, 137 deletions(-) delete mode 100644 manuals/chickadee/Lines-and-Shapes.html (limited to 'manuals/chickadee/Lines-and-Shapes.html') diff --git a/manuals/chickadee/Lines-and-Shapes.html b/manuals/chickadee/Lines-and-Shapes.html deleted file mode 100644 index d1f14c3..0000000 --- a/manuals/chickadee/Lines-and-Shapes.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Lines and Shapes (The Chickadee Game Toolkit) - - - - - - - - - - - - - - - - - - - -
-

-Next: , Previous: , Up: Graphics   [Contents][Index]

-
-
-

2.3.5 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]
-
-

Draw a line segment from start to end. The line will be -thickness pixels thick with an antialiased border feather -pixels wide. The line will be colored color. cap -specifies the type of end cap that should be used to terminate the -lines, either none, butt, square, round, -triangle-in, or triangle-out. Advanced users may use -the shader argument to override the built-in line segment -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]
-
-

Draw the curve defined by bezier using a resolution of N -segments. When control-points? is #t, the control -points are rendered as squares of size control-point-size pixels -and a color of control-point-color. When tangents? is -#t, the tangent lines from terminal point to control point are -rendered using the color tangent-color. -

-

All line segments rendered use draw-line, and thus the -arguments thickness and feather have the same effect as in -that procedure. -

-

A custom matrix may be passed for applications that require more -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]
-
-

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

- - - - - - -- cgit v1.2.3