Home
last modified time | relevance | path

Searched refs:glyphNode (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_bitmap.cpp138 return SearchInFont(unicode, glyphNode, fontId); in GetBitmap()
159 int8_t ret = GetGlyphNode(unicode, glyphNode, fontId); in GetMultiGlyphNode()
186 glyphNode = *node; in GetGlyphNode()
197 glyphNode = *node; in GetGlyphNodeFromFile()
262 int8_t ret = GetGlyphNode(unicode, glyphNode, fontId); in SearchInFont()
269 if (glyphNode.dataFlag == glyphNode.fontId && fontId == glyphNode.fontId) { in SearchInFont()
275 if (glyphNode.kernOff <= glyphNode.dataOff) { in SearchInFont()
313 GlyphNode glyphNode; in GetOffsetPosY() local
319 uint8_t ret = GetMultiGlyphNode(unicode, glyphNode, fontId); in GetOffsetPosY()
324 uint8_t weight = GetFontWeight(glyphNode.fontId); in GetOffsetPosY()
[all …]
H A Dui_font_vector.cpp656 glyphNode.top = f->top; in GetGlyphNode()
695 glyphNode.top = f->top; in GetBitmap()
810 glyphNode.fontId = fontId; in LoadGlyphIntoFace()
898 GlyphNode glyphNode; in SetFace() local
899 glyphNode.left = f->left; in SetFace()
900 glyphNode.top = f->top; in SetFace()
901 glyphNode.cols = f->cols; in SetFace()
902 glyphNode.rows = f->rows; in SetFace()
908 uint32_t rawSize = glyphNode.cols * glyphNode.rows * pixSize; in SetFace()
960 GlyphNode glyphNode; in GetOffsetPosY() local
[all …]
H A Dui_font.cpp174 uint8_t* UIFont::GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSiz… in GetBitmap() argument
181 bitmap = instance_->GetBitmap(unicode, glyphNode, shapingFont, fontSize); in GetBitmap()
187 bitmap = instance_->GetBitmap(unicode, glyphNode, fontId, fontSize); in GetBitmap()
199 bitmap = instance_->GetBitmap(unicode, glyphNode, searchLists[currentIndex], fontSize); in GetBitmap()
210 int8_t UIFont::GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSi… in GetGlyphNode() argument
212 int8_t result = instance_->GetGlyphNode(unicode, glyphNode, fontId, fontSize); in GetGlyphNode()
225 result = instance_->GetGlyphNode(unicode, glyphNode, searchLists[currentIndex], fontSize); in GetGlyphNode()
H A Dui_font_allocator.cpp182 GlyphNode& glyphNode, in GetCacheBuffer() argument
186 BufferInfo bufInfo{Rect(), 0, nullptr, nullptr, glyphNode.cols, glyphNode.rows, mode, 0}; in GetCacheBuffer()
H A Dui_font_allocator.h57 GlyphNode& glyphNode,
/ohos5.0/foundation/arkui/ui_lite/interfaces/innerkits/font/
H A Dui_font_bitmap.h38 …uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize = 0) …
40 …int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize = 0)…
41 int8_t GetGlyphNodeFromFile(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId);
62 uint8_t* SearchInFont(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId);
65 int8_t GetMultiGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId);
H A Dui_font_vector.h39 …uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) over…
41 …int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize) ove…
88 …t8_t LoadGlyphIntoFace(uint16_t& fontId, uint8_t fontSize, uint32_t unicode, GlyphNode& glyphNode);
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp42 GlyphNode glyphNode; in DrawTextOneLine() local
93 glyphNode.textStyle = letterInfo.textStyle; in DrawTextOneLine()
95 glyphNode.advance = 0; in DrawTextOneLine()
96 …uint8_t* fontMap = fontEngine->GetBitmap(letterInfo.letter, glyphNode, letterInfo.fontId, letterIn… in DrawTextOneLine()
99 uint8_t weight = fontEngine->GetFontWeight(glyphNode.fontId); in DrawTextOneLine()
103 glyphNode, labelLine.lineHeight); in DrawTextOneLine()
107 …tils::GetInstance()->DrawNormalLetter(gfxDstBuffer, letterInfo, fontMap, glyphNode, maxLetterSize); in DrawTextOneLine()
111 labelLine.pos.x -= (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine()
113 labelLine.pos.x += (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/font/
H A Dbase_font.h81 …virtual uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSi…
99 …virtual int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontS…
H A Dui_font.h114 …uint8_t* GetBitmap(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize, uint…
116 int8_t GetGlyphNode(uint32_t unicode, GlyphNode& glyphNode, uint16_t fontId, uint8_t fontSize);
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtyped_text.cpp556 GlyphNode glyphNode; in IsColourWord() local
557 int8_t ret = font->GetGlyphNode(codePoint, glyphNode, fontId, fontSize); in IsColourWord()
563 weight = font->GetFontWeight(glyphNode.fontId); in IsColourWord()