summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwl <wl>2006-07-11 06:35:24 +0000
committerwl <wl>2006-07-11 06:35:24 +0000
commitc5116ee8cc5889b23b1049ff702f19b828026af2 (patch)
tree489f92bc2ba9baf99f66d57036875eb22ef48af1 /doc
parent5615f99bc09a0e9073d304abc5ce93359a209c73 (diff)
downloadgroff-c5116ee8cc5889b23b1049ff702f19b828026af2.tar.gz
* doc/groff.texinfo (Drawing Requests): Improve documentation of
\D'P ...'.
Diffstat (limited to 'doc')
-rw-r--r--doc/groff.texinfo18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index d99f3612..aae17d01 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -11762,6 +11762,24 @@ text completely.
..
@endExample
+If you want a filled polygon which has exactly the same size as an
+unfilled one, you must draw both an unfilled and a filled polygon.
+A filled polygon is always smaller than an unfilled one because the
+latter uses straight lines with a given line thickness to connect
+the polygon's corners, while the former simply fills the area
+defined by the coordinates.
+
+@Example
+\h'1i'\v'1i'\
+\# increase line thickness
+\Z'\D't 5p''\
+\# draw unfilled polygon
+\Z'\D'p 3 3 -6 0''\
+\# draw filled polygon
+\Z'\D'P 3 3 -6 0''
+@endExample
+
+
@item \D't @var{n}'
@cindex line thickness (@w{@code{\D't @dots{}'}})
@cindex thickness of lines (@w{@code{\D't @dots{}'}})