#include <utils.h>
Public Member Functions | |
| PdfOpCmpRc (const _JM_NAMESPACE::Rectangle &rc) | |
| bool | operator() (const _JM_NAMESPACE::Rectangle &rc) const |
Private Attributes | |
| const _JM_NAMESPACE::Rectangle | rc_ |
Comparator that we can use to find out if another rectangle intersects rectangle specified by this comparator.
| PdfOpCmpRc::PdfOpCmpRc | ( | const _JM_NAMESPACE::Rectangle & | rc | ) | [inline] |
Consructor.
| rc | Rectangle used when comparing. |
| bool PdfOpCmpRc::operator() | ( | const _JM_NAMESPACE::Rectangle & | rc | ) | const [inline] |
Is the intersection of supplied rectangle and rectangle specified in the constructor not empty.
Our rectangle does NOT contain another rectangle if
References _JM_NAMESPACE::GenRect< Coord >::isInitialized(), rc_, and _JM_NAMESPACE::rectangle_intersect().
const _JM_NAMESPACE::Rectangle PdfOpCmpRc::rc_ [private] |
Rectangle to be compared.
Referenced by operator()().