Logo Search packages:      
Sourcecode: djvulibre version File versions

int GRect::isempty (  )  const [inline]

Returns true if the rectangle is empty.

Definition at line 370 of file GRect.h.

References xmax, xmin, ymax, and ymin.

Referenced by area(), DjVuTXT::has_valid_zones(), inflate(), intersect(), DjVuToPS::print(), recthull(), GRectMapper::set_input(), GRectMapper::set_output(), and translate().

{
  return (xmin>=xmax || ymin>=ymax);
}


Generated by  Doxygen 1.6.0   Back to index