groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small offset in overlapping Polygons


From: Wim Stockman
Subject: Small offset in overlapping Polygons
Date: Sat, 31 Oct 2020 15:22:52 +0100

Hi,
I made a macro to draw 2 filled rectangles on top of each other.
but if I draw them they are not exactly on top. There is a small offset on
the left.
Is this a bug or am I doing something wrong?
My goal is to make on rectangle slightly bigger to draw a border but if the
start isn't the same I'll have to compensate.
Any ideas how to solve this?

Here is my macro that doesn't align
.de RECTANGLE_FILLED_BORDER
\Z@\M[\\$4]\D'P 0 0 \\$1 0 0(\\$2 -\\$1 0'M[]@
\Z@\M[\\$3]\D'P 0 0 \\$1 0 0 \\$2 -\\$1 0'\M[]@
..
Kind Regards
Wim Stockman

..


reply via email to

[Prev in Thread] Current Thread [Next in Thread]