Home | History | Annotate | Download | only in rs

Lines Matching refs:fontSize

42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) {
62 mFontSize = fontSize;
65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
303 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) {
309 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen);
866 float fontSize, uint32_t dpi) {
867 Font *newFont = Font::create(rsc, name, fontSize, dpi);
876 float fontSize, uint32_t dpi,
878 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length);