Home
last modified time | relevance | path

Searched refs:fMetrics (Results 1 – 7 of 7) sorted by relevance

/external/skia/samplecode/
DSampleChineseFling.cpp45 SkFontMetrics fMetrics; member in ChineseFlingView
62 y += -fMetrics.fAscent; in onDrawContent()
65 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent()
78 font.getMetrics(&fMetrics); in onOnceBeforeDraw()
111 SkFontMetrics fMetrics; member in ChineseZoomView
169 y += -fMetrics.fAscent; in onDrawContent()
172 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
183 font.getMetrics(&fMetrics); in onOnceBeforeDraw()
204 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
/external/skqp/samplecode/
DSampleChineseFling.cpp68 y += -fMetrics.fAscent; in onDrawContent()
71 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent()
88 font.getMetrics(&fMetrics); in init()
113 SkFontMetrics fMetrics; member in ChineseFlingView
190 y += -fMetrics.fAscent; in onDrawContent()
193 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
205 font.getMetrics(&fMetrics); in init()
222 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in init()
240 SkFontMetrics fMetrics; member in ChineseZoomView
/external/skia/modules/skparagraph/src/
DTextWrapper.h39 … : fStart(s, 0), fEnd(e, e->endPos()), fMetrics(forceStrut), fWidth(0), fWidthWithGhostSpaces(0) { in TextStretch()
42 fMetrics.add(c->run()); in TextStretch()
52 inline InternalLineMetrics& metrics() { return fMetrics; } in metrics()
62 fMetrics.add(stretch.fMetrics); in extend()
71 void setMetrics(const InternalLineMetrics& metrics) { fMetrics = metrics; } in setMetrics()
79 fMetrics.add(cluster->run()); in extend()
87 fMetrics.add(cluster->run()); in extend()
95 fMetrics.add(cluster->run()); in startFrom()
135 fMetrics.clean(); in clean()
142 InternalLineMetrics fMetrics; variable
/external/skia/tools/fonts/
DTestTypeface.cpp38 , fMetrics(fontData.fMetrics) in SkTestFont()
105 void TestTypeface::getFontMetrics(SkFontMetrics* metrics) { *metrics = fTestFont->fMetrics; } in getFontMetrics()
DTestTypeface.h42 const SkFontMetrics& fMetrics; member
58 const SkFontMetrics& fMetrics; variable
/external/skqp/tools/fonts/
DSkTestTypeface.h41 const SkFontMetrics& fMetrics; member
56 const SkFontMetrics& fMetrics; variable
DSkTestTypeface.cpp38 , fMetrics(fontData.fMetrics) in SkTestFont()
113 *metrics = fTestFont->fMetrics; in getFontMetrics()