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

Public Member Functions | |
SourceRefObjectRect (const NormalizedPoint &point, void *reference) | |
virtual QRect | boundingRect (double xScale, double yScale) const |
virtual bool | contains (double x, double y, double xScale, double yScale) const |
![]() | |
ObjectRect (double left, double top, double right, double bottom, bool ellipse, ObjectType type, void *object) | |
ObjectRect (const NormalizedRect &rect, bool ellipse, ObjectType type, void *object) | |
ObjectRect (const QPolygonF &poly, ObjectType type, void *object) | |
virtual | ~ObjectRect () |
double | distanceSqr (double x, double y, double xScale, double yScale) const |
const void * | object () const |
ObjectType | objectType () const |
const QPainterPath & | region () const |
virtual void | transform (const QTransform &matrix) |
Additional Inherited Members | |
![]() | |
enum | ObjectType { Action, Image, OAnnotation, SourceRef } |
![]() | |
void * | m_object |
ObjectType | m_objectType |
QPainterPath | m_path |
QPainterPath | m_transformedPath |
Detailed Description
This class describes the object rectangle for a source reference.
Constructor & Destructor Documentation
SourceRefObjectRect::SourceRefObjectRect | ( | const NormalizedPoint & | point, |
void * | reference | ||
) |
Creates a new source reference object rectangle.
class SourceRefObjectRect
- Parameters
-
point The point of the source reference. reference The storable source reference object.
Member Function Documentation
|
virtual |
Returns the bounding rect of the source reference object rectangle for the scaling factor xScale
and yScale
.
Reimplemented from Okular::ObjectRect.
|
virtual |
Returns whether the source reference object rectangle contains the point x
, y
for the scaling factor xScale
and yScale
.
Reimplemented from Okular::ObjectRect.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.