diff options
Diffstat (limited to 'manuals/chickadee/Lines-and-Shapes.html')
-rw-r--r-- | manuals/chickadee/Lines-and-Shapes.html | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/manuals/chickadee/Lines-and-Shapes.html b/manuals/chickadee/Lines-and-Shapes.html index 31b0a9d..d1f14c3 100644 --- a/manuals/chickadee/Lines-and-Shapes.html +++ b/manuals/chickadee/Lines-and-Shapes.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Copyright (C) 2017, 2018, 2019 David Thompson davet@gnu.org +<!-- Copyright (C) 2017-2020 David Thompson davet@gnu.org Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -18,7 +18,7 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html. The document was typeset with http://www.texinfo.org/ (GNU Texinfo). --> -<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Lines and Shapes (The Chickadee Game Toolkit)</title> @@ -38,23 +38,14 @@ http://www.texinfo.org/ (GNU Texinfo). <!-- a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} -blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} -blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} div.lisp {margin-left: 3.2em} -div.smalldisplay {margin-left: 3.2em} -div.smallexample {margin-left: 3.2em} -div.smalllisp {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} -pre.smalldisplay {font-family: inherit; font-size: smaller} -pre.smallexample {font-size: smaller} -pre.smallformat {font-family: inherit; font-size: smaller} -pre.smalllisp {font-size: smaller} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} @@ -89,21 +80,19 @@ ul.no-bullet {list-style: none} </head> <body lang="en"> -<a name="Lines-and-Shapes"></a> -<div class="header"> +<span id="Lines-and-Shapes"></span><div class="header"> <p> Next: <a href="Fonts.html#Fonts" accesskey="n" rel="next">Fonts</a>, Previous: <a href="Tile-Maps.html#Tile-Maps" accesskey="p" rel="prev">Tile Maps</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> </div> <hr> -<a name="Lines-and-Shapes-1"></a> -<h4 class="subsection">2.3.4 Lines and Shapes</h4> +<span id="Lines-and-Shapes-1"></span><h4 class="subsection">2.3.5 Lines and Shapes</h4> <p>Sprites are fun, but sometimes simple, untextured lines and polygons are desired. That’s where the <code>(chickadee render shapes)</code> module comes in! </p> <dl> -<dt><a name="index-draw_002dline"></a>Procedure: <strong>draw-line</strong> <em>start end [#:thickness 0.5] [#:feather 1.0] [#:cap round] [#:color] [#:shader]</em></dt> +<dt id="index-draw_002dline">Procedure: <strong>draw-line</strong> <em>start end [#:thickness 0.5] [#:feather 1.0] [#:cap round] [#:color] [#:shader]</em></dt> <dd> <p>Draw a line segment from <var>start</var> to <var>end</var>. The line will be <var>thickness</var> pixels thick with an antialiased border <var>feather</var> @@ -116,7 +105,7 @@ shader. </p></dd></dl> <dl> -<dt><a name="index-draw_002dbezier_002dcurve"></a>Procedure: <strong>draw-bezier-curve</strong> <em>bezier [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]</em></dt> +<dt id="index-draw_002dbezier_002dcurve">Procedure: <strong>draw-bezier-curve</strong> <em>bezier [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]</em></dt> <dd> <p>Draw the curve defined by <var>bezier</var> using a resolution of N <var>segments</var>. When <var>control-points?</var> is <code>#t</code>, the control @@ -134,7 +123,7 @@ control over the final output. </p></dd></dl> <dl> -<dt><a name="index-draw_002dbezier_002dpath"></a>Procedure: <strong>draw-bezier-path</strong> <em>path [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]</em></dt> +<dt id="index-draw_002dbezier_002dpath">Procedure: <strong>draw-bezier-path</strong> <em>path [#:segments 32] [#:control-points?] [#:tangents?] [#:control-point-size 8] [#:control-point-color yellow] [#:tangent-color yellow] [#:thickness 0.5] [#:feather 1.0] [#:matrix]</em></dt> <dd> <p>Render <var>path</var>, a list of bezier curves. See the documentation for <code>draw-bezier-curve</code> for an explanation of all the keyword |