ref: 2c505c160e4ada69f8663a5c42979d3633314087
parent: e77002cdab4f069cd4ba2e489f2f9bc090b09ab7
author: ftrvxmtrx <[email protected]>
date: Tue Jun 9 19:34:36 EDT 2015
addpt(2): document badrect function
--- a/sys/man/2/addpt
+++ b/sys/man/2/addpt
@@ -54,6 +54,9 @@
void combinerect(Rectangle *rp, Rectangle b)
.PP
.B
+int badrect(Rectangle r)
+.PP
+.B
int Dx(Rectangle r)
.PP
.B
@@ -175,6 +178,12 @@
.B *rp
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