summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Viewports.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/Viewports.html')
-rw-r--r--manuals/chickadee/Viewports.html35
1 files changed, 12 insertions, 23 deletions
diff --git a/manuals/chickadee/Viewports.html b/manuals/chickadee/Viewports.html
index 15b3940..0588bff 100644
--- a/manuals/chickadee/Viewports.html
+++ b/manuals/chickadee/Viewports.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>Viewports (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,14 +80,12 @@ ul.no-bullet {list-style: none}
</head>
<body lang="en">
-<a name="Viewports"></a>
-<div class="header">
+<span id="Viewports"></span><div class="header">
<p>
Next: <a href="Rendering-Engine.html#Rendering-Engine" accesskey="n" rel="next">Rendering Engine</a>, Previous: <a href="Framebuffers.html#Framebuffers" accesskey="p" rel="prev">Framebuffers</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> &nbsp; [<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="Viewports-1"></a>
-<h4 class="subsection">2.3.9 Viewports</h4>
+<span id="Viewports-1"></span><h4 class="subsection">2.3.11 Viewports</h4>
<p>A viewport represents a subset of the screen (or framebuffer). When
rendering a frame, the resulting image will only appear within that
@@ -111,7 +100,7 @@ see <code>with-viewport</code> in <a href="Rendering-Engine.html#Rendering-Engin
API:
</p>
<dl>
-<dt><a name="index-make_002dviewport"></a>Procedure: <strong>make-viewport</strong> <em>x y width height [#:clear-color] [#:clear-flags]</em></dt>
+<dt id="index-make_002dviewport">Procedure: <strong>make-viewport</strong> <em>x y width height [#:clear-color] [#:clear-flags]</em></dt>
<dd>
<p>Create a viewport that covers an area of the window starting from
coordinates (<var>x</var>, <var>y</var>) and spanning <var>width</var> <code>x</code>
@@ -124,37 +113,37 @@ in <var>clear-flags</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_003f"></a>Procedure: <strong>viewport?</strong> <em>obj</em></dt>
+<dt id="index-viewport_003f">Procedure: <strong>viewport?</strong> <em>obj</em></dt>
<dd><p>Return <code>#t</code> if <var>obj</var> is a viewport.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dx"></a>Procedure: <strong>viewport-x</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dx">Procedure: <strong>viewport-x</strong> <em>viewport</em></dt>
<dd><p>Return the left edge of <var>viewport</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dy"></a>Procedure: <strong>viewport-y</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dy">Procedure: <strong>viewport-y</strong> <em>viewport</em></dt>
<dd><p>Return the bottom edge of <var>viewport</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dwidth"></a>Procedure: <strong>viewport-width</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dwidth">Procedure: <strong>viewport-width</strong> <em>viewport</em></dt>
<dd><p>Return the width of <var>viewport</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dheight"></a>Procedure: <strong>viewport-height</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dheight">Procedure: <strong>viewport-height</strong> <em>viewport</em></dt>
<dd><p>Return the height of <var>viewport</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dclear_002dcolor"></a>Procedure: <strong>viewport-clear-color</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dclear_002dcolor">Procedure: <strong>viewport-clear-color</strong> <em>viewport</em></dt>
<dd><p>Return the clear color for <var>viewport</var>.
</p></dd></dl>
<dl>
-<dt><a name="index-viewport_002dclear_002dflags"></a>Procedure: <strong>viewport-clear-flags</strong> <em>viewport</em></dt>
+<dt id="index-viewport_002dclear_002dflags">Procedure: <strong>viewport-clear-flags</strong> <em>viewport</em></dt>
<dd><p>Return the list of clear flags for <var>viewport</var>.
</p></dd></dl>