From af2872325ed461252303ec8b7987058b664843f1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 10 Mar 2018 20:32:18 -0500 Subject: Update Chickadee manual. --- manuals/chickadee/Lines-and-Shapes.html | 46 ++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 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 01fac7b..13232ab 100644 --- a/manuals/chickadee/Lines-and-Shapes.html +++ b/manuals/chickadee/Lines-and-Shapes.html @@ -30,7 +30,7 @@ http://www.texinfo.org/ (GNU Texinfo). - + + @@ -67,11 +90,28 @@ ul.no-bullet {list-style: none}

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

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


-

2.4.3 Lines and Shapes

+

2.4.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! +

+
+
Scheme 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. +

-- cgit v1.2.3