Lines Matching defs:painter
210 void TextLine::paint(ParagraphPainter* painter, const RSPath* path, SkScalar hOffset, SkScalar vOffset) {
221 record.paint(painter);
225 void TextLine::paint(ParagraphPainter* painter, SkScalar x, SkScalar y) {
233 [painter, x, y, this]
237 [painter, x, y, run, this](TextRange textRange, const TextStyle& style, const ClipContext& context) {
239 this->paintBackground(painter, x, y, textRange, style, context);
241 paintRoundRect(painter, x, y, run);
252 [painter, x, y, this]
256 [painter, x, y, this]
258 this->paintShadow(painter, x, y, textRange, style, context);
267 record.paint(painter, x, y);
277 [painter, x, y, this]
281 StyleType::kDecorations, [painter, x, y, this]
296 [painter, x, y, this]
300 [painter, x, y, this]
305 this->paintDecorations(painter, x, y, textRange, style, context);
643 void TextLine::TextBlobRecord::paint(ParagraphPainter* painter, SkScalar x, SkScalar y) {
645 painter->save();
646 painter->clipRect(fClipRect.makeOffset(x, y));
648 painter->drawTextBlob(fBlob, x + fOffset.x(), y + fOffset.y(), fPaint);
650 painter->restore();
654 void TextLine::TextBlobRecord::paint(ParagraphPainter* painter) {
656 painter->save();
658 painter->drawTextBlob(fBlob, 0, 0, fPaint);
660 painter->restore();
664 void TextLine::paintBackground(ParagraphPainter* painter,
671 painter->drawRect(context.clip.makeOffset(this->offset() + SkPoint::Make(x, y)),
676 void TextLine::paintRoundRect(ParagraphPainter* painter, SkScalar x, SkScalar y, const Run* run) const {
706 painter->drawRRect(skRRect, attr.roundRectStyle.color);
709 void TextLine::paintShadow(ParagraphPainter* painter,
728 painter->save();
732 painter->clipRect(clip);
739 painter->drawTextShadow(blob,
745 painter->restore();
756 void TextLine::paintDecorations(ParagraphPainter* painter, SkScalar x, SkScalar y, TextRange textRange, const TextStyle& style, const ClipContext& context) const {
757 ParagraphPainterAutoRestore ppar(painter);
758 painter->translate(x + this->offset().fX, y + this->offset().fY + style.getBaselineShift());
762 decorations.paint(painter, style, context, correctedBaseline);