]> git.lizzy.rs Git - plan9front.git/commitdiff
Corrected some man pages.
authoraap <aap@papnet.eu>
Fri, 17 Jan 2014 18:15:24 +0000 (19:15 +0100)
committeraap <aap@papnet.eu>
Fri, 17 Jan 2014 18:15:24 +0000 (19:15 +0100)
sys/man/2/graphics
sys/man/3/draw
sys/man/6/image

index a0cd76a9ab283682d3ec87303946c5cc1dcc45db..27130aa3e987804e476d73a9aa84b05ecb0de83e 100644 (file)
@@ -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)
index 23ab0fcdf906406712ee1e1c270f6587287a18c4..846be6451d1a7b6a5c3afee52ca3d0a6980b696e 100644 (file)
@@ -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 
index 315608919f719dcde985475127928a2735cc6ac6..010644e568ae727c767b845d0682a4f75aacc7cb 100644 (file)
@@ -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