4#ifndef DISTANCEFIELDMODELWORKER_H
5#define DISTANCEFIELDMODELWORKER_H
9#include <QtGui/private/qtextengine_p.h>
37 const QPainterPath &path,
39 quint32 cmapAssignment);
40 void error(
const QString &errorString);
43 void readGlyphCount();
48 quint16 m_nextGlyphId;
49 bool m_doubleGlyphResolution;
50 QHash<glyph_t, quint32> m_cmapping;
void readCmapSubtable(const CmapSubtable4 *subtable, const void *end)
void readCmapSubtable(const CmapSubtable6 *subtable, const void *end)
void readCmapSubtable(const CmapSubtable10 *subtable, const void *end)
Q_INVOKABLE void generateOneDistanceField()
void readCmapSubtable(const CmapSubtable12 *subtable, const void *end)
void distanceFieldGenerated(const QImage &distanceField, const QPainterPath &path, glyph_t glyphId, quint32 cmapAssignment)
void readCmapSubtable(const CmapSubtable0 *subtable, const void *end)
void error(const QString &errorString)
Q_INVOKABLE void loadFont(const QString &fileName)
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of rows under the given parent.
void setFont(const QString &fileName)
QString nameForUnicodeRange(UnicodeRange range) const
~DistanceFieldModel() override
QList< glyph_t > glyphIndexesForUnicodeRange(UnicodeRange range) const
glyph_t glyphIndexForUcs4(quint32 ucs4) const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Returns the data for the given role and section in the header with the specified orientation.
QList< UnicodeRange > unicodeRanges() const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
Returns the data stored under the given role for the item referred to by the index.
Combined button and popup list for selecting options.