From 1bb7fdb27396cf7069375b10e1f6d763ef4e0511 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 1 Jun 2011 14:48:24 -0700 Subject: Add method to SkPaint to get a glyph from a glyph id. Change-Id: I34121c66fc53aaa47aed798f7cd8e33d5977e0d8 --- include/core/SkPaint.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index f4b325f..f336f5b 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -817,6 +817,7 @@ public: #ifdef ANDROID const SkGlyph& getUnicharMetrics(SkUnichar); + const SkGlyph& getGlyphMetrics(uint16_t); const void* findImage(const SkGlyph&); uint32_t getGenerationID() const; -- cgit v1.1