Home
last modified time | relevance | path

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

1234

/external/skia/gm/
Dgradtext.cpp126 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
129 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
142 canvas->translate(SkIntToScalar(20), paint.getTextSize()); in onDraw()
148 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
153 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
Dshadertext2.cpp117 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); in onDraw()
128 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
146 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
Dgammatext.cpp80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); in cgSetPaintForText()
192 y += paint.getTextSize() * 2; in onDraw()
Dconvexpolyclip.cpp61 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
203 0, 1.5f * txtPaint.getTextSize(), in onDraw()
/external/chromium_org/third_party/skia/gm/
Dgradtext.cpp126 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
129 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
142 canvas->translate(SkIntToScalar(20), paint.getTextSize()); in onDraw()
148 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
153 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
Dshadertext2.cpp117 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); in onDraw()
128 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
146 0, labelPaint.getTextSize() - 1, labelPaint); in onDraw()
Dgammatext.cpp80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); in cgSetPaintForText()
192 y += paint.getTextSize() * 2; in onDraw()
Dconvexpolyclip.cpp61 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp()
203 0, 1.5f * txtPaint.getTextSize(), in onDraw()
/external/chromium_org/third_party/skia/samplecode/
DSampleMeasure.cpp110 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()
213 y = (paint.getTextSize() + SkIntToScalar(fBitmaps[0].height())) * 3 / 2; in onDrawContent()
DSampleFilter2.cpp96 y - p.getTextSize(), p); in onDrawContent()
/external/skia/samplecode/
DSampleMeasure.cpp110 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()
213 y = (paint.getTextSize() + SkIntToScalar(fBitmaps[0].height())) * 3 / 2; in onDrawContent()
DSampleFilter2.cpp96 y - p.getTextSize(), p); in onDrawContent()
/external/skia/src/gpu/
DGrDistanceFieldTextContext.cpp370 if (fSkPaint.getTextSize() <= kSmallDFFontLimit) { in init()
371 fTextRatio = fSkPaint.getTextSize()/kSmallDFFontSize; in init()
373 } else if (fSkPaint.getTextSize() <= kMediumDFFontLimit) { in init()
374 fTextRatio = fSkPaint.getTextSize()/kMediumDFFontSize; in init()
377 fTextRatio = fSkPaint.getTextSize()/kLargeDFFontSize; in init()
/external/chromium_org/third_party/skia/src/gpu/
DGrDistanceFieldTextContext.cpp370 if (fSkPaint.getTextSize() <= kSmallDFFontLimit) { in init()
371 fTextRatio = fSkPaint.getTextSize()/kSmallDFFontSize; in init()
373 } else if (fSkPaint.getTextSize() <= kMediumDFFontLimit) { in init()
374 fTextRatio = fSkPaint.getTextSize()/kMediumDFFontSize; in init()
377 fTextRatio = fSkPaint.getTextSize()/kLargeDFFontSize; in init()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFaceSkia.cpp135 SkScalar size = hbFontData->m_paint.getTextSize(); in harfBuzzGetGlyphHorizontalKerning()
157 SkScalar size = hbFontData->m_paint.getTextSize(); in harfBuzzGetGlyphVerticalKerning()
/external/chromium_org/third_party/skia/tests/
DRecordOptsTest.cpp111 REPORTER_ASSERT(r, bounded->minY <= SK_Scalar1 - defaults.getTextSize()); in DEF_TEST()
112 REPORTER_ASSERT(r, bounded->maxY >= SK_Scalar1 + defaults.getTextSize()); in DEF_TEST()
/external/skia/tests/
DRecordOptsTest.cpp111 REPORTER_ASSERT(r, bounded->minY <= SK_Scalar1 - defaults.getTextSize()); in DEF_TEST()
112 REPORTER_ASSERT(r, bounded->maxY >= SK_Scalar1 + defaults.getTextSize()); in DEF_TEST()
/external/skia/tools/lua/
Dglyph-usage.lua67 return paint:getFontID() * 1000 + paint:getTextSize()
/external/chromium_org/third_party/skia/tools/lua/
Dglyph-usage.lua67 return paint:getFontID() * 1000 + paint:getTextSize()
/external/skia/bench/
DTextBench.cpp81 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName()
/external/chromium_org/third_party/skia/bench/
DTextBench.cpp81 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName()

1234