PdfOpCmpPt Struct Reference

#include <utils.h>

List of all members.

Public Member Functions

 PdfOpCmpPt (const Point &pt)
bool operator() (const _JM_NAMESPACE::Rectangle &rc) const

Private Attributes

const Point pt_

Detailed Description

Comparator that we can use to find out if a rectange contains point specified by this comparator.


Constructor & Destructor Documentation

PdfOpCmpPt::PdfOpCmpPt ( const Point &  pt  )  [inline]

Consructor.

Parameters:
pt Point that we use when comparing.

Member Function Documentation

bool PdfOpCmpPt::operator() ( const _JM_NAMESPACE::Rectangle rc  )  const [inline]

Is point in a rectangle.

Parameters:
rc Rectangle.

References _JM_NAMESPACE::GenRect< Coord >::contains(), and pt_.


Member Data Documentation

const Point PdfOpCmpPt::pt_ [private]

Point to be compared.

Referenced by operator()().


The documentation for this struct was generated from the following file: