const SkPaint & skPaint() const
std::optional< DashPathEffect > getDashPathEffect() const
SkScalar getStrokeWidth() const
virtual void translate(SkScalar dx, SkScalar dy)=0
virtual void drawTextBlob(const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, const SkPaintOrID &paint)=0
virtual void drawRect(const SkRect &rect, const SkPaintOrID &paint)=0
virtual void drawTextShadow(const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, SkColor color, SkScalar blurSigma)=0
virtual void clipRect(const SkRect &rect)=0
virtual void drawPath(const SkPath &path, const DecorationStyle &decorStyle)=0
virtual ~ParagraphPainter()=default
virtual void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const DecorationStyle &decorStyle)=0
virtual void drawFilledRect(const SkRect &rect, const DecorationStyle &decorStyle)=0
std::variant< SkPaint, PaintID > SkPaintOrID
DashPathEffect(SkScalar onLength, SkScalar offLength)