ref: f87fc78ca94485e25718e080b42ff82e96e3f9fc
parent: 76516ef23f1fcbb38b7e890c123dca3a93462a5a
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
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
--
⑨