diff options
author | Romain Guy <romainguy@google.com> | 2010-07-20 16:39:43 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-07-20 16:40:47 -0700 |
commit | 90a1efbdde19ee56c33929592277871509c25893 (patch) | |
tree | cf11b2c019d51de48cd705fd29be0f8cbe2e9634 /include | |
parent | 9f7eada12ef264d63583447ffd0426207a72d019 (diff) | |
download | external_skia-90a1efbdde19ee56c33929592277871509c25893.zip external_skia-90a1efbdde19ee56c33929592277871509c25893.tar.gz external_skia-90a1efbdde19ee56c33929592277871509c25893.tar.bz2 |
Expose two APIs to be able to retrieve glyphs from font cache.
Change-Id: I4e033c009bef6f00b0cd2a8233f63351adc11df4
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPaint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index 5fef527..e835c53 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -806,6 +806,9 @@ public: void getTextPath(const void* text, size_t length, SkScalar x, SkScalar y, SkPath* path) const; + const SkGlyph& getUnicharMetrics(SkUnichar); + const void* findImage(const SkGlyph&); + private: SkTypeface* fTypeface; SkScalar fTextSize; |