Searched refs:letterHeight (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_arc_label.cpp | 342 uint16_t letterHeight = UIFont::GetInstance()->GetHeight(arcLabelText_->GetFontId(), arcLabelText_->GetFontSize()); in MeasureArcTextInfo() local 344 arcTextInfo_.radius = ((orientation_ == TextOrientation::INSIDE) ? radius_ : (radius_ - letterHeight)); in MeasureArcTextInfo() 363 OnMeasureArcTextInfo(arcAngle, letterHeight); in MeasureArcTextInfo() 366 void UIArcLabel::OnMeasureArcTextInfo(const uint16_t arcAngle, const uint16_t letterHeight) in OnMeasureArcTextInfo() argument 391 arcTextInfo_.startAngle += TypedText::GetAngleForArcLen(gapLength, letterHeight, arcTextInfo_.radius, in OnMeasureArcTextInfo() 399 maxTextAngle = TypedText::GetAngleForArcLen(maxTextLength, letterHeight, arcTextInfo_.radius, in OnMeasureArcTextInfo()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | typed_text.cpp | 40 uint16_t letterHeight = UIFont::GetInstance()->GetHeight(fontId, fontSize); in GetTextSize() local 66 size.y += letterHeight + lineSpace; in GetTextSize() 73 size.y = (size.y == 0) ? letterHeight : (size.y - lineSpace); in GetTextSize() 95 uint16_t letterHeight = UIFont::GetInstance()->GetHeight(fontId, fontSize); in GetArcTextRect() local 115 angle += xorFlag ? GetAngleForArcLen(static_cast<float>(letterWidth), letterHeight, arcTextInfo.radius, in GetArcTextRect() 121 rectLetter.Resize(letterWidth, letterHeight); in GetArcTextRect() 128 float incrementAngle = GetAngleForArcLen(static_cast<float>(arcLen), letterHeight, arcTextInfo.radius, in GetArcTextRect()
|
H A D | text.cpp | 549 uint16_t letterHeight = UIFont::GetInstance()->GetHeight(fontId_, fontSize_); in GetLetterIndexByPosition() local 551 lineHeight = letterHeight + style.lineSpace_; in GetLetterIndexByPosition() 555 height = letterHeight; in GetLetterIndexByPosition()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_label.cpp | 170 uint16_t letterHeight = fontEngine->GetHeight(fontId, fontSize); in DrawArcText() local 193 if (!DrawLabel::CalculateAngle(letterWidth, letterHeight, style.letterSpace_, in DrawArcText() 211 uint16_t letterHeight, in CalculateAngle() 227 angle += TypedText::GetAngleForArcLen(static_cast<float>(letterWidth), letterHeight, arcTextInfo.radius, in CalculateAngle() 234 float incrementAngle = TypedText::GetAngleForArcLen(static_cast<float>(arcLen), letterHeight, in CalculateAngle() 210 CalculateAngle(uint16_t letterWidth, uint16_t letterHeight, int16_t letterSpace, const ArcTextInfo arcTextInfo, bool xorFlag, uint32_t index, TextOrientation orientation, float& posX, float& posY, float& rotateAngle, float& angle, const Point& arcCenter, bool compatibilityMode) CalculateAngle() argument
|
H A D | draw_label.h | 36 uint16_t letterHeight,
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_arc_label.h | 439 void OnMeasureArcTextInfo(const uint16_t arcAngle, const uint16_t letterHeight);
|
Completed in 6 milliseconds