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

/external/skia/samplecode/
H A DSampleRegion.cpp226 SkPaint textPaint; local
227 textPaint.setAntiAlias(true);
228 textPaint.setTextSize(SK_Scalar1*24);
239 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint);
/external/skia/src/pdf/
H A DSkPDFDevice.cpp789 SkPaint textPaint = calculate_text_paint(paint); local
790 ScopedContentEntry content(this, d, textPaint, true);
804 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
813 if (textPaint.isUnderlineText() || textPaint.isStrikeThruText())
816 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc();
817 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y,
820 set_text_transform(x, y, textPaint.getTextSkewX(),
824 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry());
840 // because the raster versions don't. Use paint instead of textPaint
863 SkPaint textPaint = calculate_text_paint(paint); local
[all...]

Completed in 44 milliseconds