Home
last modified time | relevance | path

Searched refs:getTextSize (Results 1 – 25 of 69) sorted by relevance

123

/external/skia/gm/
Dgradtext.cpp123 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
126 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
140 canvas->translate(SkIntToScalar(20), paint.getTextSize()); in onDraw()
146 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
151 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
Daaxfermodes.cpp114 kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, fLabelPaint); in draw_pass()
117 kPaintSpacing, kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, in draw_pass()
179 titlePaint.setTextSize(9 * titlePaint.getTextSize() / 8); in onDraw()
184 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
187 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
198 fLabelPaint.getTextSize() / 4, fLabelPaint); in drawModeName()
Dtextblobshader.cpp49 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
55 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
Dshadertext2.cpp106 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f);
117 0, labelPaint.getTextSize() - 1, labelPaint);
135 0, labelPaint.getTextSize() - 1, labelPaint);
Dpixelsnap.cpp58 0, i * kTrans + labelPaint.getTextSize(), in onDraw()
69 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
Dtextblob.cpp137 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob()
138 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
Darithmode.cpp66 canvas->drawText(str.c_str(), str.size(), x, y + paint.getTextSize(), paint); in show_k_text()
155 canvas->drawText(str.c_str(), str.size(), x, y + paint.getTextSize(), paint); in onDraw()
Dtextbloblooper.cpp36 const SkScalar advanceX = paint.getTextSize() * 0.85f; in add_to_text_blob()
37 const SkScalar advanceY = paint.getTextSize() * 1.5f; in add_to_text_blob()
Dconvexpolyclip.cpp65 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
206 0, 1.5f * txtPaint.getTextSize(), in onDraw()
Dstrokefill.cpp241 SkScalar fakeBoldScale = SkScalarInterpFunc(p.getTextSize(), in path_bold()
244 SkScalar extra = SkScalarMul(p.getTextSize(), fakeBoldScale); in path_bold()
Dxfermodes2.cpp78 x + w/2, y - labelP.getTextSize()/2, labelP); in onDraw()
/external/opencv3/modules/imgcodecs/test/
Dtest_drawing.cpp173 Size textSize = getTextSize( text1, fontFace, fontScale, thickness, &baseline); in draw()
185 textSize = getTextSize( text2, FONT_HERSHEY_SIMPLEX, fontScale, thickness, &baseline); in draw()
190 textSize = getTextSize( text2, FONT_HERSHEY_PLAIN, fontScale, thickness, &baseline); in draw()
195 textSize = getTextSize( text2, FONT_HERSHEY_DUPLEX, fontScale, thickness, &baseline); in draw()
199 textSize = getTextSize( text2, FONT_HERSHEY_COMPLEX, fontScale, thickness, &baseline); in draw()
203 textSize = getTextSize( text2, FONT_HERSHEY_TRIPLEX, fontScale, thickness, &baseline); in draw()
208 textSize = getTextSize( text2, FONT_HERSHEY_COMPLEX_SMALL, fontScale, thickness, &baseline); in draw()
212 textSize = getTextSize( text2, FONT_HERSHEY_SCRIPT_SIMPLEX, fontScale, thickness, &baseline); in draw()
216 textSize = getTextSize( text2, FONT_HERSHEY_SCRIPT_COMPLEX, fontScale, thickness, &baseline); in draw()
221 textSize = getTextSize( text2, FONT_ITALIC, fontScale, thickness, &baseline); in draw()
[all …]
/external/skia/samplecode/
DSampleMeasure.cpp102 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
DSampleTextOnPath.cpp129 x, paint.getTextSize()/2, paint); in onDrawContent()
137 x + SkIntToScalar(100), -paint.getTextSize()/2, paint); in onDrawContent()
DSampleFilter2.cpp96 y - p.getTextSize(), p); in onDrawContent()
DSampleText.cpp52 pts[i].set(xpos, y), xpos += paint.getTextSize(); in DrawTheText()
/external/opencv3/samples/android/hello-android/
Dmain.cpp16 Size textsize = getTextSize(message, FONT_HERSHEY_COMPLEX, 3, 5, 0); in main()
/external/skia/tests/
DTextBlobTest.cpp205 REPORTER_ASSERT(reporter, defaultPaint.getTextSize() != font.getTextSize()); in TestPaintProps()
236 REPORTER_ASSERT(reporter, paint.getTextSize() == font.getTextSize()); in TestPaintProps()
DFontObjTest.cpp32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize()); in test_cachedfont()
DPaintTest.cpp310 ASSERT(other.getTextSize() == paint.getTextSize());
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.cpp364 SkScalar fakeBoldScale = SkScalarInterpFunc(fFont.getTextSize(), in TextRun()
368 SkScalar extra = SkScalarMul(fFont.getTextSize(), fakeBoldScale); in TextRun()
377 fTextRatio = fFont.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in TextRun()
378 fTextInverseRatio = SkPaint::kCanonicalTextSizeForPaths / fFont.getTextSize(); in TextRun()
670 fFont.setTextSize(fFont.getTextSize() * textRatio); in init()
/external/skia/resources/
Dslides.lua35 local ps = paint:getTextSize()
88 y = newBottom + paint:getTextSize() * .5 + extra_dy
/external/skia/tools/lua/
Dglyph-usage.lua67 return paint:getFontID() * 1000 + paint:getTextSize()
/external/skia/src/core/
DSkFont.cpp154 paint.getTextSize(), paint.getTextScaleX(), paint.getTextSkewX(), in Testing_CreateFromPaint()
/external/skia/bench/
DTextBench.cpp94 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName()

123