Qt 4.8
|
#include <qsvgstyle_p.h>
Public Functions | |
virtual void | apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) |
QSvgTinyDocument * | doc () const |
const QFont & | qfont () const |
QSvgFontStyle (QSvgFont *font, QSvgTinyDocument *doc) | |
QSvgFontStyle () | |
virtual void | revert (QPainter *p, QSvgExtraStates &states) |
void | setFamily (const QString &family) |
void | setSize (qreal size) |
void | setStyle (QFont::Style fontStyle) |
void | setTextAnchor (Qt::Alignment anchor) |
void | setVariant (QFont::Capitalization fontVariant) |
void | setWeight (int weight) |
QSvgFont * | svgFont () const |
virtual Type | type () const |
Public Functions inherited from QSvgStyleProperty | |
virtual | ~QSvgStyleProperty () |
Public Functions inherited from QSvgRefCounted | |
void | deref () |
QSvgRefCounted () | |
void | ref () |
virtual | ~QSvgRefCounted () |
Static Public Functions | |
static int | SVGToQtWeight (int weight) |
Static Public Variables | |
static const int | BOLDER = 1 |
static const int | LIGHTER = -1 |
Properties | |
QSvgTinyDocument * | m_doc |
uint | m_familySet: 1 |
QFont | m_oldQFont |
QSvgFont * | m_oldSvgFont |
Qt::Alignment | m_oldTextAnchor |
int | m_oldWeight |
QFont | m_qfont |
uint | m_sizeSet: 1 |
uint | m_styleSet: 1 |
QSvgFont * | m_svgFont |
Qt::Alignment | m_textAnchor |
uint | m_textAnchorSet: 1 |
uint | m_variantSet: 1 |
int | m_weight |
uint | m_weightSet: 1 |
Additional Inherited Members | |
Public Types inherited from QSvgStyleProperty | |
enum | Type { QUALITY, FILL, VIEWPORT_FILL, FONT, STROKE, SOLID_COLOR, GRADIENT, TRANSFORM, ANIMATE_TRANSFORM, ANIMATE_COLOR, OPACITY, COMP_OP } |
Definition at line 325 of file qsvgstyle_p.h.
QSvgFontStyle::QSvgFontStyle | ( | QSvgFont * | font, |
QSvgTinyDocument * | doc | ||
) |
Definition at line 183 of file qsvgstyle.cpp.
QSvgFontStyle::QSvgFontStyle | ( | ) |
Definition at line 195 of file qsvgstyle.cpp.
|
virtual |
Implements QSvgStyleProperty.
Definition at line 227 of file qsvgstyle.cpp.
|
inline |
Definition at line 386 of file qsvgstyle_p.h.
Referenced by parseFontFaceNameNode(), and parseFontFaceNode().
|
inline |
Definition at line 381 of file qsvgstyle_p.h.
|
virtual |
Implements QSvgStyleProperty.
Definition at line 266 of file qsvgstyle.cpp.
|
inline |
Definition at line 351 of file qsvgstyle_p.h.
Referenced by parseFont().
|
inline |
Definition at line 337 of file qsvgstyle_p.h.
Referenced by parseFont().
|
inline |
Definition at line 357 of file qsvgstyle_p.h.
Referenced by parseFont().
|
inline |
|
inline |
Definition at line 362 of file qsvgstyle_p.h.
Referenced by parseFont().
|
inline |
|
inline |
Definition at line 376 of file qsvgstyle_p.h.
Referenced by parseFontFaceNameNode(), parseFontFaceNode(), parseGlyphNode(), and parseMissingGlyphNode().
|
static |
Definition at line 207 of file qsvgstyle.cpp.
Referenced by apply().
|
virtual |
Implements QSvgStyleProperty.
Definition at line 472 of file qsvgstyle.cpp.
|
static |
Definition at line 329 of file qsvgstyle_p.h.
Referenced by apply(), and parseFont().
|
static |
Definition at line 328 of file qsvgstyle_p.h.
Referenced by apply(), and parseFont().
|
private |
Definition at line 390 of file qsvgstyle_p.h.
|
private |
Definition at line 401 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 397 of file qsvgstyle_p.h.
|
private |
Definition at line 396 of file qsvgstyle_p.h.
|
private |
Definition at line 398 of file qsvgstyle_p.h.
|
private |
Definition at line 399 of file qsvgstyle_p.h.
|
private |
Definition at line 391 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 402 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 403 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 389 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 394 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 406 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 404 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 393 of file qsvgstyle_p.h.
Referenced by apply().
|
private |
Definition at line 405 of file qsvgstyle_p.h.
Referenced by apply().