Home
last modified time | relevance | path

Searched refs:fontEngine (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp30 UIFont* fontEngine = UIFont::GetInstance(); in DrawTextOneLine() local
96 uint8_t* fontMap = fontEngine->GetBitmap(letterInfo.letter, glyphNode, letterInfo.fontId, letterInfo.fontSize, in DrawTextOneLine()
99 uint8_t weight = fontEngine->GetFontWeight(glyphNode.fontId); in DrawTextOneLine()
168 UIFont* fontEngine = UIFont::GetInstance(); in DrawArcText() local
170 uint16_t letterHeight = fontEngine->GetHeight(fontId, fontSize); in DrawArcText()
192 letterWidth = fontEngine->GetWidth(letter, fontId, fontSize, 0); in DrawArcText()
265 UIFont* fontEngine = UIFont::GetInstance(); in DrawLetterWithRotate() local
271 if (fontEngine->GetFontHeader(head, letterInfo.fontId, letterInfo.fontSize) != 0) { in DrawLetterWithRotate()
275 const uint8_t* fontMap = fontEngine->GetBitmap(letterInfo.letter, node, in DrawLetterWithRotate()
280 uint8_t fontWeight = fontEngine in DrawLetterWithRotate()
[all...]
H A Ddraw_utils.cpp185 UIFont* fontEngine = UIFont::GetInstance(); in DrawColorLetter() local
195 if (fontEngine->GetFontHeader(head, letterInfo.fontId, letterInfo.fontSize) != 0) { in DrawColorLetter()
232 UIFont* fontEngine = UIFont::GetInstance(); in DrawNormalLetter() local
242 if (fontEngine->GetFontHeader(head, letterInfo.fontId, letterInfo.fontSize) != 0) { in DrawNormalLetter()
288 uint8_t fontWeight = fontEngine->GetFontWeight(letterInfo.fontId); in DrawNormalLetter()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_line_break.cpp200 UIFont* fontEngine = UIFont::GetInstance(); in GetLetterWidth() local
204 int16_t width = fontEngine->GetWidth(unicode, fontId, fontSize, 0); in GetLetterWidth()
207 uint16_t tempHeight = fontEngine->GetHeight(fontId, fontSize); in GetLetterWidth()
209 return fontEngine->GetWidth(unicode, fontId, fontSize, 0); in GetLetterWidth()
H A Dui_multi_font_manager.cpp184 UIFont* fontEngine = UIFont::GetInstance(); in GetShapingFontId() local
185 const UITextLanguageFontParam* fontParam1 = fontEngine->GetFontInfo(fontId); in GetShapingFontId()
197 fontParam2 = fontEngine->GetFontInfo(searchLists[i]); in GetShapingFontId()
/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp492 UIFont* fontEngine = UIFont::GetInstance(); in GetEllipsisIndex() local
493 int16_t letterWidth = fontEngine->GetWidth(TEXT_ELLIPSIS_UNICODE, fontId_, fontSize_, 0) + style.letterSpace_; in GetEllipsisIndex()
499 height = fontEngine->GetHeight(fontId_, fontSize_) + style.lineSpace_; in GetEllipsisIndex()

Completed in 8 milliseconds