diff options
author | Raph Levien <raph@google.com> | 2014-05-14 11:01:32 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2014-05-14 11:01:32 -0700 |
commit | d133eab2a1a59ce4a5b1b3db04ec00dc0dbdf349 (patch) | |
tree | 14c44fed92e72bfee3f8bb220073233cac6f99f5 /sample/MinikinSkia.h | |
parent | b80c1f19c58b927820a8a24bf2218e5645724608 (diff) | |
download | android_frameworks_minikin-d133eab2a1a59ce4a5b1b3db04ec00dc0dbdf349.tar.gz android_frameworks_minikin-d133eab2a1a59ce4a5b1b3db04ec00dc0dbdf349.tar.bz2 android_frameworks_minikin-d133eab2a1a59ce4a5b1b3db04ec00dc0dbdf349.zip |
Fix build breakage in sample code
This updates the Skia sample implementation to implement GetBounds,
but the FreeType implementation is NYI (to be fixed in future commit).
Change-Id: I24eda14d5fb11c2a1e81394ad8c779de3292dd79
Diffstat (limited to 'sample/MinikinSkia.h')
-rw-r--r-- | sample/MinikinSkia.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sample/MinikinSkia.h b/sample/MinikinSkia.h index 8286a4c..fca6ca2 100644 --- a/sample/MinikinSkia.h +++ b/sample/MinikinSkia.h @@ -11,6 +11,9 @@ public: float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint &paint) const; + void GetBounds(MinikinRect* bounds, uint32_t glyph_id, + const MinikinPaint& paint) const; + // If buf is NULL, just update size bool GetTable(uint32_t tag, uint8_t *buf, size_t *size); |