.TH ADDPT 2
.SH NAME
-addpt, subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, Dx, Dy, Pt, Rect, Rpt \- arithmetic on points and rectangles
+addpt, subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, badrect, Dx, Dy, Pt, Rect, Rpt \- arithmetic on points and rectangles
.SH SYNOPSIS
.B #include <u.h>
.br
void combinerect(Rectangle *rp, Rectangle b)
.PP
.B
+int badrect(Rectangle r)
+.PP
+.B
int Dx(Rectangle r)
.PP
.B
and
.BR b .
.PP
+.I Badrect
+returns 1 if
+.I r
+is zero, negative size or insanely huge rectangle.
+It returns 0 otherwise.
+.PP
The functions
.I Dx
and