aboutsummaryrefslogtreecommitdiff
path: root/man/man3/draw.3
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man3/draw.3
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
Diffstat (limited to 'man/man3/draw.3')
-rw-r--r--man/man3/draw.316
1 files changed, 8 insertions, 8 deletions
diff --git a/man/man3/draw.3 b/man/man3/draw.3
index 1fa5dea1..c91ab541 100644
--- a/man/man3/draw.3
+++ b/man/man3/draw.3
@@ -259,7 +259,7 @@ The clipping region may be modified dynamically using
.TP
.B chan
The pixel channel format descriptor, as described in
-.IR image (7).
+.IM image (7) .
The value should not be modified after the image is created.
.TP
.B depth
@@ -268,7 +268,7 @@ number of bits per pixel in the picture;
it is identically
.B chantodepth(chan)
(see
-.IR graphics (3))
+.IM graphics (3) )
and is provided as a convenience.
The value should not be modified after the image is created.
.TP
@@ -712,7 +712,7 @@ what
is to
.B atan
(see
-.IR sin (3)).
+.IM sin (3) ).
.TP
.BI border( dst\fP,\fP\ r\fP,\fP\ i\fP,\fP\ color\fP,\fP\ sp\fP)
.I Border
@@ -810,11 +810,11 @@ is non-zero.
.SH SOURCE
.B \*9/src/libdraw
.SH SEE ALSO
-.IR graphics (3),
-.IR stringsize (3),
-.IR color (7),
-.IR utf (7),
-.IR addpt (3)
+.IM graphics (3) ,
+.IM stringsize (3) ,
+.IM color (7) ,
+.IM utf (7) ,
+.IM addpt (3)
.PP
T. Porter, T. Duff.
``Compositing Digital Images'',