QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QFontEngineFT
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QFontEngineFT
Name: QFontEngineFT::~QFontEngineFT
Prototype: QFontEngineFT::~QFontEngineFT()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 692-696
100.000% (4/4)
22
unlockFace
Name: QFontEngineFT::unlockFace
Prototype: void QFontEngineFT::unlockFace() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2045-2048
100.000% (1/1)
11
unlockAlphaMapForGlyph
Name: QFontEngineFT::unlockAlphaMapForGlyph
Prototype: void QFontEngineFT::unlockAlphaMapForGlyph()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1896-1899
100.000% (1/1)
11
underlinePosition
Name: QFontEngineFT::underlinePosition
Prototype: QFixed QFontEngineFT::underlinePosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1365-1368
100.000% (1/1)
11
supportsTransformation
Name: QFontEngineFT::supportsTransformation
Prototype: bool QFontEngineFT::supportsTransformation(const QTransform &transform) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1478-1481
100.000% (1/1)
11
setQtDefaultHintStyle
Name: QFontEngineFT::setQtDefaultHintStyle
Prototype: void QFontEngineFT::setQtDefaultHintStyle(QFont::HintingPreference hintingPreference)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 815-831
100.000% (9/9)
95
setDefaultHintStyle
Name: QFontEngineFT::setDefaultHintStyle
Prototype: void QFontEngineFT::setDefaultHintStyle(HintStyle style)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 833-836
100.000% (1/1)
11
lineThickness
Name: QFontEngineFT::lineThickness
Prototype: QFixed QFontEngineFT::lineThickness() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1360-1363
100.000% (1/1)
11
init
Name: QFontEngineFT::init
Prototype: bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, const QByteArray &fontData)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 698-702
100.000% (1/1)
11
getSfntTableData
Name: QFontEngineFT::getSfntTableData
Prototype: bool QFontEngineFT::getSfntTableData(uint tag, uchar *buffer, uint *length) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1277-1280
100.000% (1/1)
11
faceId
Name: QFontEngineFT::faceId
Prototype: QFontEngine::FaceId QFontEngineFT::faceId() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1254-1257
100.000% (1/1)
11
Glyph
Name: QFontEngineFT::Glyph
Coverage: 100.000% (1/1)
100.000% (1/1)
11
glyphIndex
Name: QFontEngineFT::glyphIndex
Prototype: glyph_t QFontEngineFT::glyphIndex(uint ucs4) const
Coverage:  85.000% (17/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1529-1557
 85.000% (17/20)
146
recalcAdvances
Name: QFontEngineFT::recalcAdvances
Prototype: void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const
Coverage:  77.273% (34/44)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1657-1690
 77.273% (34/44)
2310
lockFace
Name: QFontEngineFT::lockFace
Prototype: FT_Face QFontEngineFT::lockFace(Scaling scale) const
Coverage:  76.190% (16/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2020-2043
 76.190% (16/21)
175
loadGlyphSet
Name: QFontEngineFT::loadGlyphSet
Prototype: QFontEngineFT::QGlyphSet *QFontEngineFT::loadGlyphSet(const QTransform &matrix)
Coverage:  75.000% (21/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1404-1446
 75.000% (21/28)
257
stringToCMap
Name: QFontEngineFT::stringToCMap
Prototype: bool QFontEngineFT::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QFontEngine::ShaperFlags flags) const
Coverage:  74.000% (37/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1559-1630
 74.000% (37/50)
4314
loadGlyphFor
Name: QFontEngineFT::loadGlyphFor
Prototype: QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g, QFixed subPixelPosition, GlyphFormat format, const QTransform &t, bool fetchBoundingBox)
Coverage:  73.077% (19/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1907-1933
 73.077% (19/26)
164
QGlyphSet
Name: QFontEngineFT::QGlyphSet
Coverage:  65.517% (19/29)
 65.517% (19/29)
2713
lockedAlphaMapForGlyph
Name: QFontEngineFT::lockedAlphaMapForGlyph
Prototype: QImage *QFontEngineFT::lockedAlphaMapForGlyph(glyph_t glyphIndex, QFixed subPixelPosition, QFontEngine::GlyphFormat neededFormat, const QTransform &t, QPoint *offset)
Coverage:  64.706% (22/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1858-1894
 64.706% (22/34)
228
boundingBox
Name: QFontEngineFT::boundingBox
Prototype: glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph)
Coverage:  54.167% (13/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1751-1788
 54.167% (13/24)
307
doKerning
Name: QFontEngineFT::doKerning
Prototype: void QFontEngineFT::doKerning(QGlyphLayout *g, QFontEngine::ShaperFlags flags) const
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1370-1390
 53.846% (7/13)
124
addGlyphsToPath
Name: QFontEngineFT::addGlyphsToPath
Prototype: void QFontEngineFT::addGlyphsToPath(glyph_t *glyphs, QFixedPoint *positions, int numGlyphs, QPainterPath *path, QTextItem::RenderFlags)
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1507-1527
 53.846% (7/13)
135
loadGlyph
Name: QFontEngineFT::loadGlyph
Prototype: QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, QFixed subPixelPosition, GlyphFormat format, bool fetchMetricsOnly) const
Coverage:  51.587% (130/252)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 886-1252
 51.587% (130/252)
26062
xHeight
Name: QFontEngineFT::xHeight
Prototype: QFixed QFontEngineFT::xHeight() const
Coverage:  50.000% (5/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1318-1332
 50.000% (5/10)
93
shouldUseDesignMetrics
Name: QFontEngineFT::shouldUseDesignMetrics
Prototype: bool QFontEngineFT::shouldUseDesignMetrics(QFontEngine::ShaperFlags flags) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1632-1638
 50.000% (2/4)
32
maxCharWidth
Name: QFontEngineFT::maxCharWidth
Prototype: qreal QFontEngineFT::maxCharWidth() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1352-1358
 50.000% (2/4)
42
leading
Name: QFontEngineFT::leading
Prototype: QFixed QFontEngineFT::leading() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1310-1316
 50.000% (2/4)
42
initFromFontEngine
Name: QFontEngineFT::initFromFontEngine
Prototype: bool QFontEngineFT::initFromFontEngine(const QFontEngineFT *fe)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2123-2143
 50.000% (2/4)
132
emSquareSize
Name: QFontEngineFT::emSquareSize
Prototype: QFixed QFontEngineFT::emSquareSize() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1269-1275
 50.000% (2/4)
32
descent
Name: QFontEngineFT::descent
Prototype: QFixed QFontEngineFT::descent() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1302-1308
 50.000% (2/4)
42
cloneWithSize
Name: QFontEngineFT::cloneWithSize
Prototype: QFontEngine *QFontEngineFT::cloneWithSize(qreal pixelSize) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2145-2156
 50.000% (2/4)
72
ascent
Name: QFontEngineFT::ascent
Prototype: QFixed QFontEngineFT::ascent() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1294-1300
 50.000% (2/4)
42
init
Name: QFontEngineFT::init
Prototype: bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, QFreetypeFace *freetypeFace)
Coverage:  46.875% (30/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 706-813
 46.875% (30/64)
6217
loadFlags
Name: QFontEngineFT::loadFlags
Prototype: int QFontEngineFT::loadFlags(QGlyphSet *set, GlyphFormat format, int flags, bool &hsubpixel, int &vfactor) const
Coverage:  45.652% (21/46)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 838-876
 45.652% (21/46)
2511
boundingBox
Name: QFontEngineFT::boundingBox
Prototype: glyph_metrics_t QFontEngineFT::boundingBox(const QGlyphLayout &glyphs)
Coverage:  40.000% (12/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1692-1749
 40.000% (12/30)
439
averageCharWidth
Name: QFontEngineFT::averageCharWidth
Prototype: QFixed QFontEngineFT::averageCharWidth() const
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1334-1350
 40.000% (4/10)
103
QFontEngineFT
Name: QFontEngineFT::QFontEngineFT
Prototype: QFontEngineFT::QFontEngineFT(const QFontDef &fd)
Coverage:  40.000% (2/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 662-690
 40.000% (2/5)
231
alphaMapBoundingBox
Name: QFontEngineFT::alphaMapBoundingBox
Prototype: glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format)
Coverage:  38.462% (5/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1795-1826
 38.462% (5/13)
244
alphaMapForGlyph
Name: QFontEngineFT::alphaMapForGlyph
Prototype: QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t)
Coverage:  36.364% (4/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1940-1956
 36.364% (4/11)
93
addOutlineToPath
Name: QFontEngineFT::addOutlineToPath
Prototype: void QFontEngineFT::addOutlineToPath(qreal x, qreal y, const QGlyphLayout &glyphs, QPainterPath *path, QTextItem::RenderFlags flags)
Coverage:  30.000% (3/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1483-1505
 30.000% (3/10)
154
synthesized
Name: QFontEngineFT::synthesized
Prototype: int QFontEngineFT::synthesized() const
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1282-1292
  0.000% (0/16)
84
scaledBitmapMetrics
Name: QFontEngineFT::scaledBitmapMetrics
Prototype: QFixed QFontEngineFT::scaledBitmapMetrics(QFixed m) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1640-1643
  0.000% (0/1)
11
scaledBitmapMetrics
Name: QFontEngineFT::scaledBitmapMetrics
Prototype: glyph_metrics_t QFontEngineFT::scaledBitmapMetrics(const glyph_metrics_t &m) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1645-1655
  0.000% (0/1)
81
removeGlyphFromCache
Name: QFontEngineFT::removeGlyphFromCache
Prototype: void QFontEngineFT::removeGlyphFromCache(glyph_t glyph)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2004-2007
  0.000% (0/1)
11
properties
Name: QFontEngineFT::properties
Prototype: QFontEngine::Properties QFontEngineFT::properties() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1259-1267
  0.000% (0/4)
42
non_locked_face
Name: QFontEngineFT::non_locked_face
Prototype: FT_Face QFontEngineFT::non_locked_face() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2050-2053
  0.000% (0/1)
11
handle
Name: QFontEngineFT::handle
Prototype: Qt::HANDLE QFontEngineFT::handle() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2158-2161
  0.000% (0/1)
11
glyphCount
Name: QFontEngineFT::glyphCount
Prototype: int QFontEngineFT::glyphCount() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2009-2018
  0.000% (0/4)
62
getUnscaledGlyph
Name: QFontEngineFT::getUnscaledGlyph
Prototype: void QFontEngineFT::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics)
Coverage:  0.000% (0/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1448-1476
  0.000% (0/5)
202
getPointInOutline
Name: QFontEngineFT::getPointInOutline
Prototype: int QFontEngineFT::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 2112-2121
  0.000% (0/1)
71
boundingBox
Name: QFontEngineFT::boundingBox
Prototype: glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph, const QTransform &matrix)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1790-1793
  0.000% (0/1)
11
bitmapForGlyph
Name: QFontEngineFT::bitmapForGlyph
Prototype: QImage QFontEngineFT::bitmapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1979-2002
  0.000% (0/22)
166
alphaRGBMapForGlyph
Name: QFontEngineFT::alphaRGBMapForGlyph
Prototype: QImage QFontEngineFT::alphaRGBMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1958-1977
  0.000% (0/12)
114
alphaMapForGlyph
Name: QFontEngineFT::alphaMapForGlyph
Prototype: QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1935-1938
  0.000% (0/1)
11

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9