summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-05-14 11:01:32 -0700
committerRaph Levien <raph@google.com>2014-05-14 11:01:32 -0700
commitd133eab2a1a59ce4a5b1b3db04ec00dc0dbdf349 (patch)
tree14c44fed92e72bfee3f8bb220073233cac6f99f5 /include
parentb80c1f19c58b927820a8a24bf2218e5645724608 (diff)
downloadandroid_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 'include')
-rw-r--r--include/minikin/MinikinFontFreeType.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/minikin/MinikinFontFreeType.h b/include/minikin/MinikinFontFreeType.h
index 7051831..13a5139 100644
--- a/include/minikin/MinikinFontFreeType.h
+++ b/include/minikin/MinikinFontFreeType.h
@@ -47,6 +47,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);