diff options
| author | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2015-06-09 23:34:36 +0200 |
|---|---|---|
| committer | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2015-06-09 23:34:36 +0200 |
| commit | 2c505c160e4ada69f8663a5c42979d3633314087 (patch) | |
| tree | 57b272b51734e372f61eaa3e025ea43cb16ada51 | |
| parent | e77002cdab4f069cd4ba2e489f2f9bc090b09ab7 (diff) | |
| download | plan9front-2c505c160e4ada69f8663a5c42979d3633314087.tar.xz | |
addpt(2): document badrect function
| -rw-r--r-- | sys/man/2/addpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/2/addpt b/sys/man/2/addpt index 9738c51bf..4a0b4813e 100644 --- a/sys/man/2/addpt +++ b/sys/man/2/addpt @@ -54,6 +54,9 @@ int rectclip(Rectangle *rp, Rectangle b) void combinerect(Rectangle *rp, Rectangle b) .PP .B +int badrect(Rectangle r) +.PP +.B int Dx(Rectangle r) .PP .B @@ -176,6 +179,12 @@ with the smallest rectangle sufficient to cover all the pixels of 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 |
