okular
Okular::RegularArea< NormalizedShape, Shape > Class Template Reference
#include <area.h>
Inheritance diagram for Okular::RegularArea< NormalizedShape, Shape >:

Public Member Functions | |
~RegularArea () | |
void | appendArea (const RegularArea< NormalizedShape, Shape > *area) |
void | appendShape (const NormalizedShape &shape, MergeSide side=MergeAll) |
bool | contains (double x, double y) const |
bool | contains (const NormalizedShape &shape) const |
QList< Shape > | geometry (int xScale, int yScale, int dx=0, int dy=0) const |
bool | intersects (const RegularArea< NormalizedShape, Shape > *area) const |
bool | intersects (const NormalizedShape &shape) const |
bool | isNull () const |
void | simplify () |
void | transform (const QTransform &matrix) |
Detailed Description
template<class NormalizedShape, class Shape>
class Okular::RegularArea< NormalizedShape, Shape >
A regular area of NormalizedShape which normalizes a Shape.
Class NormalizedShape must have the following functions/operators defined:
- bool contains( double, double )
- bool intersects( NormalizedShape )
- bool isNull()
- Shape geometry( int, int )
- operator|=( NormalizedShape ) which unite two NormalizedShape's
Constructor & Destructor Documentation
template<class NormalizedShape , class Shape >
Okular::RegularArea< NormalizedShape, Shape >::~RegularArea | ( | ) |
Member Function Documentation
template<class NormalizedShape, class Shape>
void Okular::RegularArea< NormalizedShape, Shape >::appendArea | ( | const RegularArea< NormalizedShape, Shape > * | area | ) |
template<class NormalizedShape, class Shape >
void Okular::RegularArea< NormalizedShape, Shape >::appendShape | ( | const NormalizedShape & | shape, |
MergeSide | side = MergeAll |
||
) |
template<class NormalizedShape , class Shape >
bool Okular::RegularArea< NormalizedShape, Shape >::contains | ( | double | x, |
double | y | ||
) | const |
template<class NormalizedShape, class Shape >
bool Okular::RegularArea< NormalizedShape, Shape >::contains | ( | const NormalizedShape & | shape | ) | const |
template<class NormalizedShape , class Shape >
QList< Shape > Okular::RegularArea< NormalizedShape, Shape >::geometry | ( | int | xScale, |
int | yScale, | ||
int | dx = 0 , |
||
int | dy = 0 |
||
) | const |
template<class NormalizedShape, class Shape>
bool Okular::RegularArea< NormalizedShape, Shape >::intersects | ( | const RegularArea< NormalizedShape, Shape > * | area | ) | const |
template<class NormalizedShape, class Shape>
bool Okular::RegularArea< NormalizedShape, Shape >::intersects | ( | const NormalizedShape & | shape | ) | const |
template<class NormalizedShape , class Shape >
bool Okular::RegularArea< NormalizedShape, Shape >::isNull | ( | ) | const |
template<class NormalizedShape , class Shape >
void Okular::RegularArea< NormalizedShape, Shape >::simplify | ( | ) |
template<class NormalizedShape , class Shape >
void Okular::RegularArea< NormalizedShape, Shape >::transform | ( | const QTransform & | matrix | ) |
The documentation for this class was generated from the following file:
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.