Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: src/core/SkTextBlobRunIterator.h

Issue 2084533004: SkTextBlob: Begin implementing Extended TextBlob API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-24 (Friday) 17:22:15 EDT Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkTextBlobRunIterator.h
diff --git a/src/core/SkTextBlobRunIterator.h b/src/core/SkTextBlobRunIterator.h
index 42bbac0bc9d647693483deb38a89ce4491b4ef35..db99dd0d640b8656ef56af26f89160c2c0a82be9 100644
--- a/src/core/SkTextBlobRunIterator.h
+++ b/src/core/SkTextBlobRunIterator.h
@@ -28,6 +28,11 @@ public:
const SkPoint& offset() const;
void applyFontToPaint(SkPaint*) const;
SkTextBlob::GlyphPositioning positioning() const;
+ bool isExtended() const;
f(malita) 2016/06/27 20:21:56 This is just an alias for textSize() > 0, right?
hal.canary 2016/06/28 15:39:13 Done.
+ uint32_t* clusterBuffer() const;
f(malita) 2016/06/27 20:21:56 nit: clusters() for consistency?
hal.canary 2016/06/28 15:39:13 Done.
+ uint32_t textSize() const;
+ char* textBuffer() const;
f(malita) 2016/06/27 20:21:56 nit: text() for consistency?
hal.canary 2016/06/28 15:39:13 Done.
+
bool isLCD() const;
private:

Powered by Google App Engine
This is Rietveld 408576698