summaryrefslogtreecommitdiffstats
path: root/include/minikin
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2015-10-13 19:35:05 +0900
committerSeigo Nonaka <nona@google.com>2015-10-15 02:54:18 +0000
commit210dfa01db0defb3c23b60c446e97b1ee6f1287e (patch)
tree10242af1758ff518eedeb2ed004a78ad1f75f34b /include/minikin
parent0f2a025d135f9ca52cc3cf917fffc29d6c126094 (diff)
downloadandroid_frameworks_minikin-210dfa01db0defb3c23b60c446e97b1ee6f1287e.tar.gz
android_frameworks_minikin-210dfa01db0defb3c23b60c446e97b1ee6f1287e.tar.bz2
android_frameworks_minikin-210dfa01db0defb3c23b60c446e97b1ee6f1287e.zip
Remove MinikinFont::GetGlyph interface.
MinikinFont:GetGlyph is no longer used. No behavior chnages are expected with this CL. Change-Id: I13398503841ac06f930b04815017d4b33338efa1
Diffstat (limited to 'include/minikin')
-rw-r--r--include/minikin/MinikinFont.h2
-rw-r--r--include/minikin/MinikinFontFreeType.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/minikin/MinikinFont.h b/include/minikin/MinikinFont.h
index 7f65cd7..2ad2151 100644
--- a/include/minikin/MinikinFont.h
+++ b/include/minikin/MinikinFont.h
@@ -96,8 +96,6 @@ class MinikinFontFreeType;
class MinikinFont : public MinikinRefCounted {
public:
- virtual bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const = 0;
-
virtual float GetHorizontalAdvance(uint32_t glyph_id,
const MinikinPaint &paint) const = 0;
diff --git a/include/minikin/MinikinFontFreeType.h b/include/minikin/MinikinFontFreeType.h
index 13a5139..a957d12 100644
--- a/include/minikin/MinikinFontFreeType.h
+++ b/include/minikin/MinikinFontFreeType.h
@@ -42,8 +42,6 @@ public:
~MinikinFontFreeType();
- bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const;
-
float GetHorizontalAdvance(uint32_t glyph_id,
const MinikinPaint &paint) const;