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

Unified Diff: include/core/SkPaint.h

Issue 2095263003: typedef uint16_t SkGlyphID (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « include/core/SkFont.h ('k') | include/core/SkTextBlob.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index caa185608af38817de460704eadf79edca10c6ad..ef80b73f21f7b0f1d6b01755f9ffebc92d809b0c 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -821,7 +821,7 @@ public:
is returned.
*/
int textToGlyphs(const void* text, size_t byteLength,
- uint16_t glyphs[]) const;
+ SkGlyphID glyphs[]) const;
/** Return true if all of the specified text has a corresponding non-zero
glyph ID. If any of the code-points in the text are not supported in
@@ -836,7 +836,7 @@ public:
to zero. Note: this does not look at the text-encoding setting in the
paint, only at the typeface.
*/
- void glyphsToUnichars(const uint16_t glyphs[], int count, SkUnichar text[]) const;
+ void glyphsToUnichars(const SkGlyphID glyphs[], int count, SkUnichar text[]) const;
/** Return the number of drawable units in the specified text buffer.
This looks at the current TextEncoding field of the paint. If you also
« no previous file with comments | « include/core/SkFont.h ('k') | include/core/SkTextBlob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698