blob: 6eb9065cc2c5400ae8673259021507db93bd1943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
namespace android {
class MinikinFontSkia : public MinikinFont {
public:
explicit MinikinFontSkia(SkTypeface *typeface);
~MinikinFontSkia();
float GetHorizontalAdvance(uint32_t glyph_id,
const MinikinPaint &paint) const;
void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
const MinikinPaint& paint) const;
const void* GetTable(uint32_t tag, size_t* size, MinikinDestroyFunc* destroy);
SkTypeface *GetSkTypeface();
private:
SkTypeface *mTypeface;
};
} // namespace android
|