Home | History | Annotate | Download | only in rs

Lines Matching full:fontsize

40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) {
60 mFontSize = fontSize;
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
294 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
301 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) {
307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen);
861 float fontSize, uint32_t dpi) {
862 Font *newFont = Font::create(rsc, name, fontSize, dpi);
871 float fontSize, uint32_t dpi,
873 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length);