Lines Matching refs:Text
18 sk_sp<Text> Text::Make(sk_sp<SkTypeface> tf, const SkString& text) {
19 return sk_sp<Text>(new Text(std::move(tf), text));
22 Text::Text(sk_sp<SkTypeface> tf, const SkString& text)
26 Text::~Text() = default;
28 SkPoint Text::alignedPosition(SkScalar advance) const {
45 SkRect Text::onRevalidate(InvalidationController*, const SkMatrix&) {
71 void Text::onDraw(SkCanvas* canvas, const SkPaint& paint) const {
76 bool Text::onContains(const SkPoint& p) const {
80 SkPath Text::onAsPath() const {
85 void Text::onClip(SkCanvas* canvas, bool antiAlias) const {