![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsvgfont_p.h>
Public Member Functions | |
| QSvgFont (qreal horizAdvX) | |
| void | setFamilyName (const QString &name) |
| QString | familyName () const |
| void | setUnitsPerEm (qreal upem) |
| void | addGlyph (QChar unicode, const QPainterPath &path, qreal horizAdvX=-1) |
| bool | addMissingGlyph (const QPainterPath &path, qreal horizAdvX) |
| void | draw (QPainter *p, const QPointF &point, const QString &str, qreal pixelSize, Qt::Alignment alignment) const |
| QRectF | boundingRect (QPainter *p, const QPointF &point, const QString &str, qreal pixelSize, Qt::Alignment alignment) const |
| Public Member Functions inherited from QSvgRefCounted | |
| QSvgRefCounted () | |
| virtual | ~QSvgRefCounted () |
| void | ref () |
| void | deref () |
Public Attributes | |
| QString | m_familyName |
| qreal | m_unitsPerEm = DEFAULT_UNITS_PER_EM |
| qreal | m_horizAdvX |
| std::unique_ptr< const QSvgGlyph > | m_missingGlyph |
| QHash< QChar, QSvgGlyph > | m_glyphs |
Static Public Attributes | |
| static constexpr qreal | DEFAULT_UNITS_PER_EM = 1000 |
Definition at line 40 of file qsvgfont_p.h.
| QSvgFont::QSvgFont | ( | qreal | horizAdvX | ) |
Definition at line 20 of file qsvgfont.cpp.
| void QSvgFont::addGlyph | ( | QChar | unicode, |
| const QPainterPath & | path, | ||
| qreal | horizAdvX = -1 ) |
Definition at line 32 of file qsvgfont.cpp.
| bool QSvgFont::addMissingGlyph | ( | const QPainterPath & | path, |
| qreal | horizAdvX ) |
Definition at line 38 of file qsvgfont.cpp.
| QRectF QSvgFont::boundingRect | ( | QPainter * | p, |
| const QPointF & | point, | ||
| const QString & | str, | ||
| qreal | pixelSize, | ||
| Qt::Alignment | alignment ) const |
Definition at line 55 of file qsvgfont.cpp.
| void QSvgFont::draw | ( | QPainter * | p, |
| const QPointF & | point, | ||
| const QString & | str, | ||
| qreal | pixelSize, | ||
| Qt::Alignment | alignment ) const |
Definition at line 49 of file qsvgfont.cpp.
| QString QSvgFont::familyName | ( | ) | const |
Definition at line 26 of file qsvgfont.cpp.
Definition at line 132 of file qsvgfont.cpp.
Definition at line 137 of file qsvgfont.cpp.
|
staticconstexpr |
Definition at line 43 of file qsvgfont_p.h.
| QString QSvgFont::m_familyName |
Definition at line 60 of file qsvgfont_p.h.
Definition at line 65 of file qsvgfont_p.h.
| qreal QSvgFont::m_horizAdvX |
Definition at line 62 of file qsvgfont_p.h.
| std::unique_ptr<const QSvgGlyph> QSvgFont::m_missingGlyph |
Definition at line 64 of file qsvgfont_p.h.
| qreal QSvgFont::m_unitsPerEm = DEFAULT_UNITS_PER_EM |
Definition at line 61 of file qsvgfont_p.h.