Searched defs:textPaint (Results 1 - 5 of 5) sorted by relevance

/external/skia/gm/
H A Dimageblur.cpp39 SkPaint textPaint; local
40 textPaint.setAntiAlias(true);
44 textPaint.setColor(rand.nextBits(24) | 0xFF000000);
45 textPaint.setTextSize(rand.nextRangeScalar(0, 300));
47 SkIntToScalar(y), textPaint);
H A Dsimpleaaclip.cpp157 SkPaint textPaint; local
158 textPaint.setAntiAlias(true);
159 textPaint.setTextSize(SK_Scalar1*24);
165 textPaint);
H A Dimage.cpp160 SkPaint textPaint; local
162 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint);
163 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint);
164 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint);
165 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint);
166 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint);
167 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint);
168 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint);
170 canvas->drawText(kLabel8, strlen(kLabel8), 80, 10, textPaint);
171 canvas->drawText(kLabel9, strlen(kLabel9), 160, 10, textPaint);
[all...]
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDevice.cpp1133 SkPaint textPaint = calculate_text_paint(paint); local
1134 ScopedContentEntry content(this, d, textPaint, true);
1143 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
1145 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc();
1146 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y);
1148 set_text_transform(x, y, textPaint.getTextSkewX(),
1152 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry());
1179 SkPaint textPaint = calculate_text_paint(paint); local
1180 ScopedContentEntry content(this, d, textPaint, true);
1299 textPaint
[all...]
/external/skia/src/pdf/
H A DSkPDFDevice.cpp1133 SkPaint textPaint = calculate_text_paint(paint); local
1134 ScopedContentEntry content(this, d, textPaint, true);
1143 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
1145 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc();
1146 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y);
1148 set_text_transform(x, y, textPaint.getTextSkewX(),
1152 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry());
1179 SkPaint textPaint = calculate_text_paint(paint); local
1180 ScopedContentEntry content(this, d, textPaint, true);
1299 textPaint
[all...]

Completed in 96 milliseconds