Searched refs:ital (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 44 inline uint16_t packKey(int wght, int ital) { in packKey() argument 50 if (ital != -1) { in packKey() 52 res |= (ital == 1) ? 1 << 2 : 0; in packKey() 266 HbFontUniquePtr Font::getAdjustedFont(int wght, int ital) const { in getAdjustedFont() 267 return getExternalRefs()->getAdjustedFont(wght, ital); in getAdjustedFont() 270 HbFontUniquePtr Font::ExternalRefs::getAdjustedFont(int wght, int ital) const { in getAdjustedFont() 271 if (wght == -1 && ital == -1) { in getAdjustedFont() 275 const uint16_t key = packKey(wght, ital); in getAdjustedFont() 289 } else if (ital != -1 && variation.axisTag == TAG_ital) { in getAdjustedFont() 298 if (ital != -1) { in getAdjustedFont() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Font.h | 169 HbFontUniquePtr getAdjustedFont(int wght, int ital) const; 170 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 190 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 191 HbFontUniquePtr getAdjustedFont(int wght, int ital) const; 212 std::vector<FontVariation> getAdjustedVariations(int wght, int ital) const;
|