summaryrefslogtreecommitdiff
path: root/man/XDrawLine.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XDrawLine.man')
-rw-r--r--man/XDrawLine.man60
1 files changed, 30 insertions, 30 deletions
diff --git a/man/XDrawLine.man b/man/XDrawLine.man
index 03433aac..09f32f39 100644
--- a/man/XDrawLine.man
+++ b/man/XDrawLine.man
@@ -101,9 +101,9 @@ Specifies the GC.
.IP \fImode\fP 1i
Specifies the coordinate mode.
You can pass
-.ZN CoordModeOrigin
+.B CoordModeOrigin
or
-.ZN CoordModePrevious .
+.BR CoordModePrevious .
.IP \fInpoints\fP 1i
Specifies the number of points in the array.
.IP \fInsegments\fP 1i
@@ -125,52 +125,52 @@ Specifies an array of segments.
Specify the points (x1, y1) and (x2, y2) to be connected.
.SH DESCRIPTION
The
-.ZN XDrawLine
+.B XDrawLine
function uses the components of the specified GC to
draw a line between the specified set of points (x1, y1) and (x2, y2).
It does not perform joining at coincident endpoints.
For any given line,
-.ZN XDrawLine
+.B XDrawLine
does not draw a pixel more than once.
If lines intersect, the intersecting pixels are drawn multiple times.
.LP
The
-.ZN XDrawLines
+.B XDrawLines
function uses the components of the specified GC to draw
npoints\-1 lines between each pair of points (point[i], point[i+1])
in the array of
-.ZN XPoint
+.B XPoint
structures.
It draws the lines in the order listed in the array.
The lines join correctly at all intermediate points, and if the first and last
points coincide, the first and last lines also join correctly.
For any given line,
-.ZN XDrawLines
+.B XDrawLines
does not draw a pixel more than once.
If thin (zero line-width) lines intersect,
the intersecting pixels are drawn multiple times.
If wide lines intersect, the intersecting pixels are drawn only once, as though
the entire
-.ZN PolyLine
+.B PolyLine
protocol request were a single, filled shape.
-.ZN CoordModeOrigin
+.B CoordModeOrigin
treats all coordinates as relative to the origin,
and
-.ZN CoordModePrevious
+.B CoordModePrevious
treats all coordinates after the first as relative to the previous point.
.LP
The
-.ZN XDrawSegments
+.B XDrawSegments
function draws multiple, unconnected lines.
For each segment,
-.ZN XDrawSegments
+.B XDrawSegments
draws a
line between (x1, y1) and (x2, y2).
It draws the lines in the order listed in the array of
-.ZN XSegment
+.B XSegment
structures and does not perform joining at coincident endpoints.
For any given line,
-.ZN XDrawSegments
+.B XDrawSegments
does not draw a pixel more than once.
If lines intersect, the intersecting pixels are drawn multiple times.
.LP
@@ -179,29 +179,29 @@ function, plane-mask, line-width,
line-style, cap-style, fill-style, subwindow-mode,
clip-x-origin, clip-y-origin, and clip-mask.
The
-.ZN XDrawLines
+.B XDrawLines
function also uses the join-style GC component.
All three functions also use these GC mode-dependent components:
foreground, background, tile, stipple, tile-stipple-x-origin,
tile-stipple-y-origin, dash-offset, and dash-list.
.LP
-.ZN XDrawLine ,
-.ZN XDrawLines ,
+.BR XDrawLine ,
+.BR XDrawLines ,
and
-.ZN XDrawSegments
+.B XDrawSegments
can generate
-.ZN BadDrawable ,
-.ZN BadGC ,
+.BR BadDrawable ,
+.BR BadGC ,
and
-.ZN BadMatch
+.B BadMatch
errors.
-.ZN XDrawLines
+.B XDrawLines
can also generate a
-.ZN BadValue
+.B BadValue
error.
.SH STRUCTURES
The
-.ZN XSegment
+.B XSegment
structure contains:
.LP
.Ds 0
@@ -217,22 +217,22 @@ out of the 16-bit ranges, because the protocol only has 16-bit fields
for these values.
.SH DIAGNOSTICS
.TP 1i
-.ZN BadDrawable
+.B BadDrawable
A value for a Drawable argument does not name a defined Window or Pixmap.
.TP 1i
-.ZN BadGC
+.B BadGC
A value for a GContext argument does not name a defined GContext.
.TP 1i
-.ZN BadMatch
+.B BadMatch
An
-.ZN InputOnly
+.B InputOnly
window is used as a Drawable.
.TP 1i
-.ZN BadMatch
+.B BadMatch
Some argument or pair of arguments has the correct type and range but fails
to match in some other way required by the request.
.TP 1i
-.ZN BadValue
+.B BadValue
Some numeric value falls outside the range of values accepted by the request.
Unless a specific range is specified for an argument, the full range defined
by the argument's type is accepted. Any argument defined as a set of