Home
last modified time | relevance | path

Searched refs:face_ (Results 1 – 2 of 2) sorted by relevance

/system/teeui/libteeui/src/
Dfont_rendering.cpp57 if (!face_) return Error::NotInitialized; in setCharSize()
58 auto error = FT_Set_Char_Size(*face_, 0, char_size, 0, dpi); in setCharSize()
64 if (!face_) return Error::NotInitialized; in setCharSizeInPix()
65 if (FT_Set_Pixel_Sizes(*face_, 0, size.count())) { in setCharSizeInPix()
72 if (!face_) return 0; in getCharIndex()
73 return FT_Get_Char_Index(*face_, codePoint); in getCharIndex()
77 if (!face_) return Error::NotInitialized; in loadGlyph()
78 if (FT_Load_Glyph(*face_, index, FT_LOAD_DEFAULT)) { in loadGlyph()
85 if (!face_) return Error::NotInitialized; in renderGlyph()
86 if (FT_Render_Glyph(face_->glyph, FT_RENDER_MODE_NORMAL)) { in renderGlyph()
[all …]
/system/teeui/libteeui/include/teeui/
Dfont_rendering.h143 Handle<FT_Face> face_; variable
154 FT_Bitmap* bitmap = &face_->glyph->bitmap; in drawGlyph()
156 Vec2d<pxs> offset{face_->glyph->bitmap_left, -face_->glyph->bitmap_top}; in drawGlyph()
208 tface.face_ = Handle(face);