/external/skia/gm/ |
D | gradtext.cpp | 123 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()
|
D | aaxfermodes.cpp | 114 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()
|
D | textblobshader.cpp | 49 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw() 55 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
|
D | shadertext2.cpp | 106 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 117 0, labelPaint.getTextSize() - 1, labelPaint); 135 0, labelPaint.getTextSize() - 1, labelPaint);
|
D | pixelsnap.cpp | 58 0, i * kTrans + labelPaint.getTextSize(), in onDraw() 69 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
|
D | textblob.cpp | 137 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob() 138 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
|
D | arithmode.cpp | 66 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()
|
D | textbloblooper.cpp | 36 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()
|
D | convexpolyclip.cpp | 65 SkPoint texPos = { wScalar / 17, hScalar / 2 + paint.getTextSize() / 2.5f }; in make_bmp() 206 0, 1.5f * txtPaint.getTextSize(), in onDraw()
|
D | strokefill.cpp | 241 SkScalar fakeBoldScale = SkScalarInterpFunc(p.getTextSize(), in path_bold() 244 SkScalar extra = SkScalarMul(p.getTextSize(), fakeBoldScale); in path_bold()
|
D | xfermodes2.cpp | 78 x + w/2, y - labelP.getTextSize()/2, labelP); in onDraw()
|
/external/opencv3/modules/imgcodecs/test/ |
D | test_drawing.cpp | 173 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/ |
D | SampleMeasure.cpp | 102 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
|
D | SampleTextOnPath.cpp | 129 x, paint.getTextSize()/2, paint); in onDrawContent() 137 x + SkIntToScalar(100), -paint.getTextSize()/2, paint); in onDrawContent()
|
D | SampleFilter2.cpp | 96 y - p.getTextSize(), p); in onDrawContent()
|
D | SampleText.cpp | 52 pts[i].set(xpos, y), xpos += paint.getTextSize(); in DrawTheText()
|
/external/opencv3/samples/android/hello-android/ |
D | main.cpp | 16 Size textsize = getTextSize(message, FONT_HERSHEY_COMPLEX, 3, 5, 0); in main()
|
/external/skia/tests/ |
D | TextBlobTest.cpp | 205 REPORTER_ASSERT(reporter, defaultPaint.getTextSize() != font.getTextSize()); in TestPaintProps() 236 REPORTER_ASSERT(reporter, paint.getTextSize() == font.getTextSize()); in TestPaintProps()
|
D | FontObjTest.cpp | 32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize()); in test_cachedfont()
|
D | PaintTest.cpp | 310 ASSERT(other.getTextSize() == paint.getTextSize());
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.cpp | 364 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/ |
D | slides.lua | 35 local ps = paint:getTextSize() 88 y = newBottom + paint:getTextSize() * .5 + extra_dy
|
/external/skia/tools/lua/ |
D | glyph-usage.lua | 67 return paint:getFontID() * 1000 + paint:getTextSize()
|
/external/skia/src/core/ |
D | SkFont.cpp | 154 paint.getTextSize(), paint.getTextScaleX(), paint.getTextSkewX(), in Testing_CreateFromPaint()
|
/external/skia/bench/ |
D | TextBench.cpp | 94 fName.printf("text_%g", SkScalarToFloat(fPaint.getTextSize())); in onGetName()
|