Flutter Engine
The Flutter Engine
|
#include <ParagraphPainterImpl.h>
Public Member Functions | |
CanvasParagraphPainter (SkCanvas *canvas) | |
void | drawTextBlob (const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, const SkPaintOrID &paint) override |
void | drawTextShadow (const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, SkColor color, SkScalar blurSigma) override |
void | drawRect (const SkRect &rect, const SkPaintOrID &paint) override |
void | drawFilledRect (const SkRect &rect, const DecorationStyle &decorStyle) override |
void | drawPath (const SkPath &path, const DecorationStyle &decorStyle) override |
void | drawLine (SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const DecorationStyle &decorStyle) override |
void | clipRect (const SkRect &rect) override |
void | translate (SkScalar dx, SkScalar dy) override |
void | save () override |
void | restore () override |
Public Member Functions inherited from skia::textlayout::ParagraphPainter | |
virtual | ~ParagraphPainter ()=default |
virtual void | drawTextBlob (const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, const SkPaintOrID &paint)=0 |
virtual void | drawTextShadow (const sk_sp< SkTextBlob > &blob, SkScalar x, SkScalar y, SkColor color, SkScalar blurSigma)=0 |
virtual void | drawRect (const SkRect &rect, const SkPaintOrID &paint)=0 |
virtual void | drawFilledRect (const SkRect &rect, const DecorationStyle &decorStyle)=0 |
virtual void | drawPath (const SkPath &path, const DecorationStyle &decorStyle)=0 |
virtual void | drawLine (SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const DecorationStyle &decorStyle)=0 |
virtual void | clipRect (const SkRect &rect)=0 |
virtual void | translate (SkScalar dx, SkScalar dy)=0 |
virtual void | save ()=0 |
virtual void | restore ()=0 |
Additional Inherited Members | |
Public Types inherited from skia::textlayout::ParagraphPainter | |
typedef int | PaintID |
typedef std::variant< SkPaint, PaintID > | SkPaintOrID |
Definition at line 11 of file ParagraphPainterImpl.h.
skia::textlayout::CanvasParagraphPainter::CanvasParagraphPainter | ( | SkCanvas * | canvas | ) |
Definition at line 39 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 77 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 63 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 73 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 69 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 58 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 42 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 47 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 89 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 85 of file ParagraphPainterImpl.cpp.
|
overridevirtual |
Implements skia::textlayout::ParagraphPainter.
Definition at line 81 of file ParagraphPainterImpl.cpp.