Home
last modified time | relevance | path

Searched refs:getTextSize (Results 1 – 25 of 53) 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()
Dtextblobshader.cpp47 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
53 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
Dshadertext2.cpp120 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); in onDraw()
131 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
149 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
Dpixelsnap.cpp57 0, i * kTrans + labelPaint.getTextSize(), in onDraw()
68 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
Dtextblob.cpp133 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob()
134 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
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.cpp62 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
205 0, 1.5f * txtPaint.getTextSize(), in onDraw()
Dcolortypexfermode.cpp148 x + w/2, y - labelP.getTextSize()/2, labelP); in onDraw()
Dgammatext.cpp88 y += paint.getTextSize() * 2; in onDraw()
Darithmode.cpp65 canvas->drawText(str.c_str(), str.size(), x, y + paint.getTextSize(), paint); in show_k_text()
Dxfermodes2.cpp78 x + w/2, y - labelP.getTextSize()/2, labelP); in onDraw()
/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()
DSampleEncode.cpp180 y = paint.getTextSize(); in onDrawContent()
210 y = (paint.getTextSize() + SkIntToScalar(fBitmaps[0].height())) * 3 / 2; in onDrawContent()
DSampleFilter2.cpp96 y - p.getTextSize(), p); in onDrawContent()
DSampleXfermodesBlur.cpp191 x + w/2, y - labelP.getTextSize()/2, labelP); in onDrawContent()
DSampleText.cpp87 pts[i].set(xpos, y), xpos += paint.getTextSize(); in DrawTheText()
/external/skia/src/gpu/
DGrStencilAndCoverTextContext.cpp318 SkScalar fakeBoldScale = SkScalarInterpFunc(fSkPaint.getTextSize(), in init()
322 SkScalar extra = SkScalarMul(fSkPaint.getTextSize(), fakeBoldScale); in init()
333 fTextRatio = fSkPaint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in init()
334 fTextInverseRatio = SkPaint::kCanonicalTextSizeForPaths / fSkPaint.getTextSize(); 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/tests/
DFontObjTest.cpp32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize()); in test_cachedfont()
DPaintTest.cpp310 ASSERT(other.getTextSize() == paint.getTextSize());
DFontMgrTest.cpp47 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize()); in test_font()
/external/skia/src/core/
DSkFont.cpp154 paint.getTextSize(), paint.getTextScaleX(), paint.getTextSkewX(), in Testing_CreateFromPaint()
/external/skia/bench/
DTextBench.cpp92 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName()

123