aboutsummaryrefslogtreecommitdiffstats
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-05-14 13:59:31 -0700
committerRomain Guy <romainguy@google.com>2012-05-14 13:59:47 -0700
commit7249c95ffc05fb8775e6ecb567c9450680eb1b65 (patch)
treefbfc1a9381c1a863c99e51cd858cb060f1f6f9ed /include/core/SkPaint.h
parent7c6d54cdf8d0da62a7478bda7927d779b0481218 (diff)
downloadexternal_skia-7249c95ffc05fb8775e6ecb567c9450680eb1b65.zip
external_skia-7249c95ffc05fb8775e6ecb567c9450680eb1b65.tar.gz
external_skia-7249c95ffc05fb8775e6ecb567c9450680eb1b65.tar.bz2
Add new utfToGlyphs API for GL renderer
Bug #6408362 Change-Id: I69c21d9aeeb663aa6244132ce8d598be888886e2
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 7be5ad2..30ff663 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -870,6 +870,9 @@ public:
/** Returns the base glyph count for the strike associated with this paint
*/
unsigned getBaseGlyphCount(SkUnichar text) const;
+
+ int utfToGlyphs(const void* text, TextEncoding encoding,
+ size_t byteLength, uint16_t glyphs[]) const;
#endif
// returns true if the paint's settings (e.g. xfermode + alpha) resolve to