aboutsummaryrefslogtreecommitdiff
path: root/libX11/specs/libX11/CH07.xml
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/specs/libX11/CH07.xml')
-rw-r--r--libX11/specs/libX11/CH07.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/libX11/specs/libX11/CH07.xml b/libX11/specs/libX11/CH07.xml
index ae977b365..14d4bd4ed 100644
--- a/libX11/specs/libX11/CH07.xml
+++ b/libX11/specs/libX11/CH07.xml
@@ -1,3 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<chapter id="graphics_context_functions">
<title>Graphics Context Functions</title>
@@ -269,7 +272,10 @@ is typically the most useful because it will work on a color display,
but special applications may use other functions,
particularly in concert with particular planes of a color display.
The 16 GC functions, defined in
-&lt;<filename class="headerfile">X11/X.h</filename>&gt;,
+<filename class="headerfile">&lt;X11/X.h&gt;</filename>,
+<indexterm type="file"><primary><filename class="headerfile">X11/X.h</filename></primary></indexterm>
+<indexterm><primary>Files</primary><secondary><filename class="headerfile">&lt;X11/X.h&gt;</filename></secondary></indexterm>
+<indexterm><primary>Headers</primary><secondary><filename class="headerfile">&lt;X11/X.h&gt;</filename></secondary></indexterm>
are:
</para>
<!-- .\" are listed in Table 5-1 along with the -->
@@ -962,10 +968,10 @@ depth of drawable, use
<funcsynopsis>
<funcprototype>
<funcdef>GC <function>XCreateGC</function></funcdef>
- <paramdef>Display<parameter> *display</parameter></paramdef>
+ <paramdef>Display <parameter> *display</parameter></paramdef>
<paramdef>Drawable<parameter> d</parameter></paramdef>
<paramdef>unsignedlong<parameter> valuemask</parameter></paramdef>
- <paramdef>XGCValues<parameter> *\^values</parameter></paramdef>
+ <paramdef>XGCValues *<parameter>values</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<!-- .FN -->
@@ -1139,7 +1145,7 @@ To change the components in a given GC, use
<paramdef>Display<parameter> *display</parameter></paramdef>
<paramdef>GC<parameter> gc</parameter></paramdef>
<paramdef>unsignedlong<parameter> valuemask</parameter></paramdef>
- <paramdef>XGCValues<parameter> *\^values</parameter></paramdef>
+ <paramdef>XGCValues<parameter> *values</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<!-- .FN -->
@@ -1976,7 +1982,7 @@ To set the dash-offset and dash-list for dashed line styles of a given GC, use
<paramdef>Display<parameter> *display</parameter></paramdef>
<paramdef>GC<parameter> gc</parameter></paramdef>
<paramdef>int<parameter> dash_offset</parameter></paramdef>
- <paramdef>char<parameter> dash_list[]\^</parameter></paramdef>
+ <paramdef>char<parameter> dash_list[]</parameter></paramdef>
<paramdef>int<parameter> n</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -2074,7 +2080,7 @@ are only required to match this ideal for horizontal and vertical lines.
Failing the ideal semantics, it is suggested that the length be measured along the
major axis of the line.
The major axis is defined as the x axis for lines drawn at an angle of between
-\-45 and +45 degrees or between 135 and 225 degrees from the x axis.
+&minus;45 and +45 degrees or between 135 and 225 degrees from the x axis.
For all other lines, the major axis is the y axis.
</para>
<para>
@@ -3037,7 +3043,7 @@ To set the clip-mask of a given GC to the specified list of rectangles, use
<paramdef>Display<parameter> *display</parameter></paramdef>
<paramdef>GC<parameter> gc</parameter></paramdef>
<paramdef>intclip_x_origin,<parameter> clip_y_origin</parameter></paramdef>
- <paramdef>XRectangle<parameter> rectangles[]\^</parameter></paramdef>
+ <paramdef>XRectangle<parameter> rectangles[]</parameter></paramdef>
<paramdef>int<parameter> n</parameter></paramdef>
<paramdef>int<parameter> ordering</parameter></paramdef>
</funcprototype>