summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2014-01-17 19:15:24 +0100
committeraap <aap@papnet.eu>2014-01-17 19:15:24 +0100
commit7e1b43a53a6089b2f01aef8a176abb922a2400d0 (patch)
tree67aa696663a4916d9f19c8ea019afcdf33445a3f /sys
parent79e8f53e89d83805784bd2a8832cddc4bc0de608 (diff)
Corrected some man pages.
Diffstat (limited to 'sys')
-rw-r--r--sys/man/2/graphics8
-rw-r--r--sys/man/3/draw4
-rw-r--r--sys/man/6/image4
3 files changed, 7 insertions, 9 deletions
diff --git a/sys/man/2/graphics b/sys/man/2/graphics
index a0cd76a9a..27130aa3e 100644
--- a/sys/man/2/graphics
+++ b/sys/man/2/graphics
@@ -368,14 +368,10 @@ and
.I label
are as in
.IR initdraw ;
-.I mousedir
-and
.I windir
-are the directories holding the
-.B mouse
-and
+is the directory holding the
.B winname
-files; and
+file; and
.I ref
specifies the refresh function to be used to create the window, if running under
.IR rio (1)
diff --git a/sys/man/3/draw b/sys/man/3/draw
index 23ab0fcdf..846be6451 100644
--- a/sys/man/3/draw
+++ b/sys/man/3/draw
@@ -40,6 +40,8 @@ the
channel format
of the image,
the
+replicate bit,
+the
.BR min.x ,
.BR min.y ,
.BR max.x ,
@@ -70,7 +72,7 @@ files associated with the connection.
Via the
.B ctl
and
-.B draw
+.B data
files, the
.I draw
device provides access to
diff --git a/sys/man/6/image b/sys/man/6/image
index 315608919..010644e56 100644
--- a/sys/man/6/image
+++ b/sys/man/6/image
@@ -57,8 +57,8 @@ will appear as
.I d
contiguous bits in a byte, with the pixel's high order bit
starting at the byte's bit number
-.if t \fIw\fP\(mu(\fIx\fP mod (8/\fIw\fP)),
-.if n w*(x mod (8/w)),
+.if t \fId\fP\(mu(\fIx\fP mod (8/\fId\fP)),
+.if n d*(x mod (8/d)),
where bits within a byte are numbered 0 to 7 from the
high order to the low order bit.
Rows contain integral number of bytes, so there may be some unused