Home
last modified time | relevance | path

Searched refs:paintCopy (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp825 Paint paintCopy(paint); in drawGlyphs() local
827 mPaintFilter->filterFullPaint(&paintCopy); in drawGlyphs()
829 const SkFont& font = paintCopy.getSkFont(); in drawGlyphs()
832 if (!mCanvasOwned && sApiLevel <= 27 && paintCopy.getStrokeWidth() <= 0 && in drawGlyphs()
833 paintCopy.getStyle() == SkPaint::kStroke_Style) { in drawGlyphs()
834 paintCopy.setStyle(SkPaint::kFill_Style); in drawGlyphs()
843 applyLooper(&paintCopy, [&](const SkPaint& p) { mCanvas->drawTextBlob(textBlob, 0, 0, p); }); in drawGlyphs()
845 drawTextDecorations(x, y, totalAdvance, paintCopy); in drawGlyphs()
852 Paint paintCopy(paint); in drawLayoutOnPath() local
854 mPaintFilter->filterFullPaint(&paintCopy); in drawLayoutOnPath()
[all …]