okular
Okular::AnnotationObjectRect Class Reference
#include <area.h>
Inheritance diagram for Okular::AnnotationObjectRect:

Detailed Description
This class describes the object rectangle for an annotation.Definition at line 319 of file area.h.
Public Member Functions | |
| Annotation * | annotation () const |
| AnnotationObjectRect (Annotation *annotation) | |
| virtual QRect | boundingRect (double xScale, double yScale) const |
| virtual bool | contains (double x, double y, double xScale, double yScale) const |
| virtual void | transform (const QMatrix &matrix) |
| virtual | ~AnnotationObjectRect () |
Constructor & Destructor Documentation
| AnnotationObjectRect::AnnotationObjectRect | ( | Annotation * | annotation | ) |
Creates a new annotation object rectangle with the given annotation.
class AnnotationObjectRect
| AnnotationObjectRect::~AnnotationObjectRect | ( | ) | [virtual] |
Member Function Documentation
| Annotation * AnnotationObjectRect::annotation | ( | ) | const |
| QRect AnnotationObjectRect::boundingRect | ( | double | xScale, | |
| double | yScale | |||
| ) | const [virtual] |
Returns the bounding rect of the annotation object rectangle for the scaling factor xScale and yScale.
Reimplemented from Okular::ObjectRect.
| bool AnnotationObjectRect::contains | ( | double | x, | |
| double | y, | |||
| double | xScale, | |||
| double | yScale | |||
| ) | const [virtual] |
Returns whether the annotation object rectangle contains the point x, y for the scaling factor xScale and yScale.
Reimplemented from Okular::ObjectRect.
| void AnnotationObjectRect::transform | ( | const QMatrix & | matrix | ) | [virtual] |
Transforms the annotation object rectangle with the operations defined by matrix.
Reimplemented from Okular::ObjectRect.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference