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

okular

  • Okular
  • HighlightAnnotation
  • Quad
Public Member Functions | List of all members
Okular::HighlightAnnotation::Quad Class Reference

#include <annotations.h>

Public Member Functions

 Quad ()
 
 Quad (const Quad &other)
 
 ~Quad ()
 
bool capEnd () const
 
bool capStart () const
 
double feather () const
 
Quad & operator= (const Quad &other)
 
NormalizedPoint point (int index) const
 
void setCapEnd (bool value)
 
void setCapStart (bool value)
 
void setFeather (double width)
 
void setPoint (const NormalizedPoint &point, int index)
 
void transform (const QTransform &matrix)
 
NormalizedPoint transformedPoint (int index) const
 

Detailed Description

The Quad class contains 8 coordinates and style definitions which describe a line part of the whole highlight annotation.

Definition at line 1122 of file annotations.h.

Constructor & Destructor Documentation

HighlightAnnotation::Quad::Quad ( )

Creates a new quad.

Definition at line 1775 of file annotations.cpp.

HighlightAnnotation::Quad::~Quad ( )

Destroys the quad.

Definition at line 1780 of file annotations.cpp.

HighlightAnnotation::Quad::Quad ( const Quad &  other)

Definition at line 1785 of file annotations.cpp.

Member Function Documentation

bool HighlightAnnotation::Quad::capEnd ( ) const

Returns whether a cap should be used at the end.

Definition at line 1838 of file annotations.cpp.

bool HighlightAnnotation::Quad::capStart ( ) const

Returns whether a cap should be used at the start.

Definition at line 1828 of file annotations.cpp.

double HighlightAnnotation::Quad::feather ( ) const

Returns the width of the drawing feather.

Definition at line 1848 of file annotations.cpp.

HighlightAnnotation::Quad & HighlightAnnotation::Quad::operator= ( const Quad &  other)

Definition at line 1791 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 1807 of file annotations.cpp.

void HighlightAnnotation::Quad::setCapEnd ( bool  value)

Sets whether a cap should be used at the end.

Definition at line 1833 of file annotations.cpp.

void HighlightAnnotation::Quad::setCapStart ( bool  value)

Sets whether a cap should be used at the start.

Definition at line 1823 of file annotations.cpp.

void HighlightAnnotation::Quad::setFeather ( double  width)

Sets the width of the drawing feather.

Definition at line 1843 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 1799 of file annotations.cpp.

void HighlightAnnotation::Quad::transform ( const QTransform &  matrix)

Transforms the quad coordinates with the transformation defined by matrix.

Definition at line 1853 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 1815 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp
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

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal