diff options
Diffstat (limited to 'src/core/SkGlyphCache.h')
-rw-r--r-- | src/core/SkGlyphCache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h index 2e7355779a..e904c6e5c7 100644 --- a/src/core/SkGlyphCache.h +++ b/src/core/SkGlyphCache.h @@ -10,6 +10,7 @@ #include "SkArenaAlloc.h" #include "SkDescriptor.h" #include "SkGlyph.h" +#include "SkGlyphRun.h" #include "SkPaint.h" #include "SkTHash.h" #include "SkScalerContext.h" @@ -67,6 +68,8 @@ public: const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y); const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); + void getAdvances(SkSpan<SkGlyphID>, SkPoint[]); + /** Return the glyphID for the specified Unichar. If the char has already been seen, use the existing cache entry. If not, ask the scalercontext to compute it for us. */ |