Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qsgcurveglyphatlas_p.h>
Public Member Functions | |
QSGCurveGlyphAtlas (const QRawFont &font) | |
virtual | ~QSGCurveGlyphAtlas () |
void | populate (const QList< glyph_t > &glyphs) |
void | addGlyph (QSGCurveFillNode *node, glyph_t glyph, const QPointF &position, qreal pixelSize) const |
void | addStroke (QSGCurveStrokeNode *node, glyph_t glyph, const QPointF &position) const |
qreal | fontSize () const |
Definition at line 27 of file qsgcurveglyphatlas_p.h.
QT_BEGIN_NAMESPACE QSGCurveGlyphAtlas::QSGCurveGlyphAtlas | ( | const QRawFont & | font | ) |
Definition at line 15 of file qsgcurveglyphatlas.cpp.
References qEnvironmentVariableIntValue(), and QRawFont::setPixelSize().
|
virtual |
Definition at line 27 of file qsgcurveglyphatlas.cpp.
void QSGCurveGlyphAtlas::addGlyph | ( | QSGCurveFillNode * | node, |
glyph_t | glyph, | ||
const QPointF & | position, | ||
qreal | pixelSize ) const |
Definition at line 118 of file qsgcurveglyphatlas.cpp.
References QSGCurveFillNode::appendTriangle(), QList< T >::at(), i, QRawFont::pixelSize(), position(), and QList< T >::size().
Referenced by QSGCurveGlyphNode::updateGeometry().
void QSGCurveGlyphAtlas::addStroke | ( | QSGCurveStrokeNode * | node, |
glyph_t | glyph, | ||
const QPointF & | position ) const |
Definition at line 94 of file qsgcurveglyphatlas.cpp.
References QSGCurveStrokeNode::appendTriangle(), QList< T >::at(), i, position(), QList< T >::size(), and v1.
Referenced by QSGCurveGlyphNode::updateGeometry().
|
inline |
Definition at line 42 of file qsgcurveglyphatlas_p.h.
Referenced by QSGCurveGlyphNode::updateGeometry().
Definition at line 31 of file qsgcurveglyphatlas.cpp.
References QList< T >::append(), QHash< Key, T >::contains(), Qt::FlatCap, QQuadPath::fromPainterPath(), QHash< Key, T >::insert(), isLine(), Qt::MiterJoin, QRawFont::pathForGlyph(), QSGCurveProcessor::processFill(), QSGCurveProcessor::processStroke(), QSGCurveProcessor::solveOverlaps(), and Qt::WindingFill.
Referenced by QSGCurveGlyphNode::updateGeometry().