summaryrefslogtreecommitdiff
path: root/html/en/drv
diff options
context:
space:
mode:
Diffstat (limited to 'html/en/drv')
-rw-r--r--html/en/drv/gl.html108
1 files changed, 108 insertions, 0 deletions
diff --git a/html/en/drv/gl.html b/html/en/drv/gl.html
new file mode 100644
index 0000000..2b94b10
--- /dev/null
+++ b/html/en/drv/gl.html
@@ -0,0 +1,108 @@
+<!doctype HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>GL</title>
+<link rel="stylesheet" type="text/css" href="../../style.css">
+<style type="text/css">
+.style1 {
+ margin-top: 0px;
+}
+</style>
+</head>
+
+<body>
+
+<h2>GL Driver</h2>
+
+ <p>This driver represents a basic driver for all system-dependent drivers
+ implemented in the X-Windows system using the <a href="http://www.opengl.org/">
+ OpenGL</a> SDK. The implementation uses the OpenGL, GLU and GLX API functions.
+ For the font support, this driver uses the
+ <a href="http://homepages.paradise.net.nz/henryj/code/index.html#FTGL">FTGL</a>
+ API functions, which it was written against the
+ <a href="http://www.freetype.org/">Free Type</a> library.</p>
+
+<h3>Behavior of Functions</h3>
+<h4>Control&nbsp; </h4>
+<ul>
+ <li><a href="../func/other.html#cdPlay">
+ <font face="Courier"><strong>Play</strong></font></a>: does nothing, returns
+ <font face="Courier">CD_ERROR</font>. </li>
+</ul>
+<h4>Coordinate System and Clipping </h4>
+<ul>
+ <li>
+ <a href="../func/coordinates.html#cdUpdateYAxis">
+ <font face="Courier"><strong>UpdateYAxis</strong></font></a>: does nothing.</li>
+ <li>
+ <strong>Clipping</strong>: only support rectangular areas.</li>
+ <li>
+ <b>Complex Regions</b>: not supported.</li>
+</ul>
+<h4>Primitives</h4>
+<ul>
+ <li><a href="../func/lines.html#cdBegin">
+ <font face="Courier"><strong>Begin</strong></font></a>: <strong><tt>CD_PATH</tt></strong>
+ is simulated.</li>
+ <li>Floating point primitives are supported.</li>
+</ul>
+<h4>Client Images</h4>
+<ul>
+ <li>Images are bitmaps, and cannot be directly rotated or scaled.</li>
+</ul>
+<h4>Attributes </h4>
+<ul>
+ <li>
+ <a href="../func/lines.html#cdLineStyle">
+ <font face="Courier"><strong>LineStyle</strong></font></a>: in <strong><tt>
+ CD_CUSTOM</tt></strong>, style patterns more than 16 bits are not supported.</li>
+ <li>
+ <a href="../func/lines.html#cdLineCap">
+ <font face="Courier"><strong>LineCap</strong></font></a>: does nothing.</li>
+ <li>
+ <a href="../func/lines.html#cdLineJoin">
+ <font face="Courier"><strong>LineJoin</strong></font></a>: does nothing.</li>
+ <li class="style1">
+ <a href="../func/filled.html#cdStipple"><font face="Courier"><strong>Stipple</strong></font></a>:
+ does nothing. There is no support for patterns more than 16 bits.</li>
+ <li class="style1">
+ <a href="../func/filled.html#cdPattern"><font face="Courier"><strong>Pattern</strong></font></a>:
+ does nothing.</li>
+ <li class="style1">
+ <a href="../func/filled.html#cdFillMode"><font face="Courier"><strong>
+ FillMode</strong></font></a>: does nothing.</li>
+ <li>
+ <a href="../func/text.html#cdNativeFont">
+ <font face="Courier"><strong>NativeFont</strong></font></a>: also accepts the
+ X-Windows font string format.</li>
+ <li><a href="../func/text.html#cdFont">
+ <font face="Courier"><strong>Font</strong></font></a>: &quot;Courier&quot; is mapped to
+ &quot;Courier New&quot;, &quot;Helvetica&quot; is mapped to &quot;Arial&quot;, and &quot;Times&quot; is mapped to
+ &quot;Times New Roman&quot;. Underline and Strikeout are NOT supported.</li>
+</ul>
+<h4>Colors </h4>
+<ul>
+ <li>
+ <a href="http://www.tecgraf.puc-rio.br/cd/en/func/color.html#cdPalette">
+ <font face="Courier"><strong>Palette</strong></font></a>: does nothing.</li>
+</ul>
+<h4>Exclusive Attributes</h4>
+
+<ul>
+ <li>&quot;<b><font face="Courier">ROTATE</font></b>&quot;:&nbsp; allows the usage of 1
+ angle and 1 coordinate (x, y), that define a global rotation transformation
+ centered in the specified coordinate. Use 1 real and 2 integer values inside a
+ string (&quot;%g %d %d&quot; = angle x y).</li>
+</ul>
+
+<ul>
+ <li><b><font face="Courier">&quot;GLVERSION&quot;: </font></b>returns a string with
+ the OpenGL version or release number. It is empty if the OpenGL is not available.</li>
+</ul>
+
+</body>
+
+</html>