#include <KoPen.h>
Fonctions membres publiques | |
KoPen () | |
KoPen (const QColor &_color, double _pointWidth, Qt::PenStyle _style) | |
KoPen (const QColor &_color) | |
~KoPen () | |
bool | operator== (const KoPen &p) const |
Compare pens if they are equal. | |
bool | operator!= (const KoPen &p) const |
Compare pens if they differ. | |
void | setPointWidth (double width) |
Set the pen width in points. | |
double | pointWidth () const |
KoPen width in points. | |
QPen | zoomedPen (KoZoomHandler *zoomHandler) |
Returns a zoomed QPen. | |
Attributs privés | |
double | m_pointWidth |
Définition à la ligne 32 du fichier KoPen.h.
KoPen::KoPen | ( | ) |
KoPen::KoPen | ( | const QColor & | _color, | |
double | _pointWidth, | |||
Qt::PenStyle | _style | |||
) |
Définition à la ligne 30 du fichier KoPen.cpp.
Références setPointWidth().
Voici le graphe d'appel pour cette fonction :
KoPen::KoPen | ( | const QColor & | _color | ) |
bool KoPen::operator== | ( | const KoPen & | p | ) | const |
Compare pens if they are equal.
Two pens are equal if they have equal styles, widths and colors.
Définition à la ligne 48 du fichier KoPen.cpp.
Références m_pointWidth, et pointWidth().
Voici le graphe d'appel pour cette fonction :
bool KoPen::operator!= | ( | const KoPen & | p | ) | const |
Compare pens if they differ.
Two pens are different if they have different styles, widths or colors.
Définition à la ligne 53 du fichier KoPen.cpp.
Références m_pointWidth, et pointWidth().
Voici le graphe d'appel pour cette fonction :
void KoPen::setPointWidth | ( | double | width | ) |
Set the pen width in points.
Définition à la ligne 58 du fichier KoPen.cpp.
Références m_pointWidth.
Référencé par KoPen().
Voici le graphe d'appel pour cette fonction :
double KoPen::pointWidth | ( | ) | const [inline] |
KoPen width in points.
Définition à la ligne 61 du fichier KoPen.h.
Référencé par operator!=(), et operator==().
Voici le graphe d'appel pour cette fonction :
QPen KoPen::zoomedPen | ( | KoZoomHandler * | zoomHandler | ) |
Returns a zoomed QPen.
Définition à la ligne 63 du fichier KoPen.cpp.
Références m_pointWidth, et KoZoomHandler::zoomItYOld().
Voici le graphe d'appel pour cette fonction :
double KoPen::m_pointWidth [private] |
Définition à la ligne 67 du fichier KoPen.h.
Référencé par KoPen(), operator!=(), operator==(), setPointWidth(), et zoomedPen().