Home | History | Annotate | Download | only in rs

Lines Matching refs: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);
295 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
302 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) {
308 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen);
859 float fontSize, uint32_t dpi) {
860 Font *newFont = Font::create(rsc, name, fontSize, dpi);
869 float fontSize, uint32_t dpi,
871 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length);