addpt(2): document badrect function
This commit is contained in:
parent
e77002cdab
commit
2c505c160e
1 changed files with 9 additions and 0 deletions
|
@ -54,6 +54,9 @@ int rectclip(Rectangle *rp, Rectangle b)
|
||||||
void combinerect(Rectangle *rp, Rectangle b)
|
void combinerect(Rectangle *rp, Rectangle b)
|
||||||
.PP
|
.PP
|
||||||
.B
|
.B
|
||||||
|
int badrect(Rectangle r)
|
||||||
|
.PP
|
||||||
|
.B
|
||||||
int Dx(Rectangle r)
|
int Dx(Rectangle r)
|
||||||
.PP
|
.PP
|
||||||
.B
|
.B
|
||||||
|
@ -176,6 +179,12 @@ with the smallest rectangle sufficient to cover all the pixels of
|
||||||
and
|
and
|
||||||
.BR b .
|
.BR b .
|
||||||
.PP
|
.PP
|
||||||
|
.I Badrect
|
||||||
|
returns 1 if
|
||||||
|
.I r
|
||||||
|
is zero, negative size or insanely huge rectangle.
|
||||||
|
It returns 0 otherwise.
|
||||||
|
.PP
|
||||||
The functions
|
The functions
|
||||||
.I Dx
|
.I Dx
|
||||||
and
|
and
|
||||||
|
|
Loading…
Reference in a new issue