Home
last modified time | relevance | path

Searched refs:backgroundPaint (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/experimental/sktext/src/
H A DPaint.cpp9 SkPaint backgroundPaint(SkColors::kWhite); in drawText()
10 return drawText(std::move(text), canvas, TextDirection::kLtr, TextAlign::kLeft, foregroundPaint, backgroundPaint, SkString("Roboto"), 14, SkFontStyle::Normal(), x, y); in drawText()
15 SkPaint backgroundPaint(SkColors::kWhite); in drawText()
17 TextDirection::kLtr, TextAlign::kLeft, foregroundPaint, backgroundPaint, SkString("Roboto"), 14, SkFontStyle::Normal(), in drawText()
70 if (!decoratedBlock.backgroundPaint.nothingToDraw()) { in onGlyphRun()
72 fCanvas->drawRect(bounds, decoratedBlock.backgroundPaint); in onGlyphRun()
H A DPaint.h15 , backgroundPaint(std::move(bg)) { } in DecoratedBlock()
18 SkPaint backgroundPaint; member
/third_party/skia/gm/
H A Daaclip.cpp31 SkPaint backgroundPaint; in draw() local
32 backgroundPaint.setColor(SkColorSetRGB(0xDD, 0x0, 0x0)); in draw()
33 backgroundPaint.setAntiAlias(true); in draw()
43 canvas->drawRect(target, backgroundPaint); in draw()
H A Dlcdblendmodes.cpp125 SkPaint backgroundPaint; in drawColumn() local
126 backgroundPaint.setColor(backgroundColor); in drawColumn()
127 canvas->drawRect(SkRect::MakeIWH(kColWidth, kHeight), backgroundPaint); in drawColumn() local
/third_party/skia/experimental/sktext/editor/
H A DTexts.cpp74 merged.emplace_back(selected.fStart - decorPos, decor.foregroundPaint, decor.backgroundPaint); in mergeSelectionIntoDecorations()
86 merged.emplace_back(lastDecorPos + decor.charCount - selected.fEnd, decor.foregroundPaint, decor.backgroundPaint); in mergeSelectionIntoDecorations()
/third_party/skia/experimental/sktext/samples/
H A DText.cpp59 SkPaint backgroundPaint(SkColors::kLtGray); in drawLine()
63 foregroundPaint, backgroundPaint, in drawLine()

Completed in 3 milliseconds