okular
Okular::HighlightAnnotation::Quad Class Reference
#include <annotations.h>
Detailed Description
The Quad class contains 8 coordinates and style definitions which describe a line part of the whole highlight annotation.Definition at line 1001 of file annotations.h.
Public Member Functions | |
| Quad () | |
| ~Quad () | |
| Quad (const Quad &other) | |
| Quad & | operator= (const Quad &other) |
| void | setPoint (const NormalizedPoint &point, int index) |
| NormalizedPoint | point (int index) const |
| NormalizedPoint | transformedPoint (int index) const |
| void | setCapStart (bool value) |
| bool | capStart () const |
| void | setCapEnd (bool value) |
| bool | capEnd () const |
| void | setFeather (double width) |
| double | feather () const |
| void | transform (const QMatrix &matrix) |
Constructor & Destructor Documentation
| HighlightAnnotation::Quad::Quad | ( | ) |
| HighlightAnnotation::Quad::~Quad | ( | ) |
| HighlightAnnotation::Quad::Quad | ( | const Quad & | other | ) |
Definition at line 1549 of file annotations.cpp.
Member Function Documentation
| HighlightAnnotation::Quad & HighlightAnnotation::Quad::operator= | ( | const Quad & | other | ) |
Definition at line 1555 of file annotations.cpp.
| void HighlightAnnotation::Quad::setPoint | ( | const NormalizedPoint & | point, | |
| int | index | |||
| ) |
Sets the normalized point at index.
index must be between 0 and 3.
Definition at line 1563 of file annotations.cpp.
| NormalizedPoint HighlightAnnotation::Quad::point | ( | int | index | ) | const |
Returns the normalized point at index.
index must be between 0 and 3.
Definition at line 1571 of file annotations.cpp.
| NormalizedPoint HighlightAnnotation::Quad::transformedPoint | ( | int | index | ) | const |
Returns the transformed (e.g.
rotated) normalized point at index.
index must be between 0 and 3.
Definition at line 1579 of file annotations.cpp.
| void HighlightAnnotation::Quad::setCapStart | ( | bool | value | ) |
| bool HighlightAnnotation::Quad::capStart | ( | ) | const |
| void HighlightAnnotation::Quad::setCapEnd | ( | bool | value | ) |
| bool HighlightAnnotation::Quad::capEnd | ( | ) | const |
| void HighlightAnnotation::Quad::setFeather | ( | double | width | ) |
| double HighlightAnnotation::Quad::feather | ( | ) | const |
| void HighlightAnnotation::Quad::transform | ( | const QMatrix & | matrix | ) |
Transforms the quad coordinates with the transformation defined by matrix.
Definition at line 1617 of file annotations.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference