Searched refs:textPaint (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/skia/gm/
H A Dimageblur.cpp45 SkPaint textPaint; local
46 textPaint.setAntiAlias(true);
47 sk_tool_utils::set_portable_typeface(&textPaint);
51 textPaint.setColor(rand.nextBits(24) | 0xFF000000);
52 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
54 SkIntToScalar(y), textPaint);
H A Dimageblur2.cpp68 SkPaint textPaint; local
69 textPaint.setAntiAlias(false);
70 textPaint.setColor(rand.nextBits(24) | 0xFF000000);
71 textPaint.setTextSize(textSize);
78 textPaint);
H A Dimageblurtiled.cpp51 SkPaint textPaint; local
52 textPaint.setAntiAlias(true);
53 sk_tool_utils::set_portable_typeface(&textPaint);
54 textPaint.setTextSize(SkIntToScalar(100));
59 SkIntToScalar(posY), textPaint);
H A Dimageresizetiled.cpp58 SkPaint textPaint; variable
59 textPaint.setAntiAlias(true);
60 sk_tool_utils::set_portable_typeface(&textPaint); member in class:skiagm::ImageResizeTiledGM::sk_tool_utils
61 textPaint.setTextSize(SkIntToScalar(100));
66 SkIntToScalar(posY), textPaint);
H A Dimage.cpp153 SkPaint textPaint; local
154 textPaint.setAntiAlias(true);
155 sk_tool_utils::set_portable_typeface(&textPaint);
156 textPaint.setTextSize(8);
158 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint);
159 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint);
160 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint);
161 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint);
162 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint);
163 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint);
[all...]
H A Dsimpleaaclip.cpp155 SkPaint textPaint; local
156 textPaint.setAntiAlias(true);
157 sk_tool_utils::set_portable_typeface(&textPaint);
158 textPaint.setTextSize(SK_Scalar1*24);
164 textPaint);
/external/skia/gm/
H A Dimageblur.cpp45 SkPaint textPaint; local
46 textPaint.setAntiAlias(true);
50 textPaint.setColor(rand.nextBits(24) | 0xFF000000);
51 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
53 SkIntToScalar(y), textPaint);
H A Dimageblurtiled.cpp51 SkPaint textPaint; local
52 textPaint.setAntiAlias(true);
53 textPaint.setTextSize(SkIntToScalar(100));
58 SkIntToScalar(posY), textPaint);
H A Dimageresizetiled.cpp56 SkPaint textPaint; variable
57 textPaint.setAntiAlias(true);
58 textPaint.setTextSize(SkIntToScalar(100));
63 SkIntToScalar(posY), textPaint);
H A Dimage.cpp159 SkPaint textPaint; local
160 textPaint.setAntiAlias(true);
161 textPaint.setTextSize(8);
163 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint);
164 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint);
165 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint);
166 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint);
167 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint);
168 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint);
169 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint);
[all...]
H A Dsimpleaaclip.cpp159 SkPaint textPaint; local
160 textPaint.setAntiAlias(true);
161 textPaint.setTextSize(SK_Scalar1*24);
167 textPaint);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleRegion.cpp370 SkPaint textPaint; local
371 textPaint.setAntiAlias(true);
372 textPaint.setTextSize(SK_Scalar1*24);
383 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint);
/external/skia/samplecode/
H A DSampleRegion.cpp370 SkPaint textPaint; local
371 textPaint.setAntiAlias(true);
372 textPaint.setTextSize(SK_Scalar1*24);
383 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint);
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDevice.cpp1120 SkPaint textPaint = calculate_text_paint(paint); local
1121 ScopedContentEntry content(this, d, textPaint, true);
1129 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
1131 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc();
1132 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y);
1134 set_text_transform(x, y, textPaint.getTextSkewX(),
1138 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry());
1166 SkPaint textPaint = calculate_text_paint(paint); local
1167 ScopedContentEntry content(this, d, textPaint, true);
1175 textPaint
[all...]
/external/skia/src/pdf/
H A DSkPDFDevice.cpp1121 SkPaint textPaint = calculate_text_paint(paint); local
1122 ScopedContentEntry content(this, d, textPaint, true);
1130 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
1132 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc();
1133 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y);
1135 set_text_transform(x, y, textPaint.getTextSkewX(),
1139 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry());
1166 SkPaint textPaint = calculate_text_paint(paint); local
1167 ScopedContentEntry content(this, d, textPaint, true);
1286 textPaint
[all...]

Completed in 258 milliseconds