1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"gluOrtho2D">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>gluOrtho2D
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>gluOrtho2D
</refname>
17 <refpurpose>define a
2D orthographic projection matrix
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>gluOrtho2D
</function></funcdef>
23 <paramdef>GLdouble
<parameter>left
</parameter></paramdef>
24 <paramdef>GLdouble
<parameter>right
</parameter></paramdef>
25 <paramdef>GLdouble
<parameter>bottom
</parameter></paramdef>
26 <paramdef>GLdouble
<parameter>top
</parameter></paramdef>
30 <!-- eqn: ignoring delim $$ -->
31 <refsect1 id=
"parameters"><title>Parameters
</title>
34 <term><parameter>left
</parameter></term>
35 <term><parameter>right
</parameter></term>
38 Specify the coordinates for the left and right vertical clipping planes.
43 <term><parameter>bottom
</parameter></term>
44 <term><parameter>top
</parameter></term>
47 Specify the coordinates for the bottom and top horizontal clipping planes.
53 <refsect1 id=
"description"><title>Description
</title>
55 <function>gluOrtho2D
</function> sets up a two-dimensional orthographic viewing region.
56 This is equivalent to calling
<citerefentry><refentrytitle>glOrtho
</refentrytitle></citerefentry> with
57 <inlineequation><mml:math>
58 <!-- eqn: near = -1:-->
60 <mml:mi mathvariant=
"italic">near
</mml:mi>
64 </mml:math></inlineequation>
66 <inlineequation><mml:math>
69 <mml:mi mathvariant=
"italic">far
</mml:mi>
73 </mml:math></inlineequation>.
76 <refsect1 id=
"seealso"><title>See Also
</title>
78 <citerefentry><refentrytitle>glOrtho
</refentrytitle></citerefentry>,
79 <citerefentry><refentrytitle>gluPerspective
</refentrytitle></citerefentry>
82 <refsect1 id=
"Copyright"><title>Copyright
</title>
84 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
85 Silicon Graphics, Inc. This document is licensed under the SGI
86 Free Software B License. For details, see
87 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.