• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::AnnotationObjectRect

Okular::AnnotationObjectRect Class Reference

#include <area.h>

Inheritance diagram for Okular::AnnotationObjectRect:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class describes the object rectangle for an annotation.

Definition at line 311 of file area.h.


Public Member Functions

 AnnotationObjectRect (Annotation *annotation)
virtual ~AnnotationObjectRect ()
Annotation * annotation () const
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)

Constructor & Destructor Documentation

AnnotationObjectRect::AnnotationObjectRect ( Annotation *  annotation  ) 

Creates a new annotation object rectangle with the given annotation.

class AnnotationObjectRect

Definition at line 295 of file area.cpp.

AnnotationObjectRect::~AnnotationObjectRect (  )  [virtual]

Destroys the annotation object rectangle.

Definition at line 315 of file area.cpp.


Member Function Documentation

Annotation * AnnotationObjectRect::annotation (  )  const

Returns the annotation object of the annotation object rectangle.

Definition at line 300 of file area.cpp.

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.

Definition at line 305 of file area.cpp.

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.

Definition at line 310 of file area.cpp.

void AnnotationObjectRect::transform ( const QMatrix &  matrix  )  [virtual]

Transforms the annotation object rectangle with the operations defined by matrix.

Reimplemented from Okular::ObjectRect.

Definition at line 322 of file area.cpp.


The documentation for this class was generated from the following files:
  • area.h
  • area.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal