Home
last modified time | relevance | path

Searched refs:TextOrientation (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_arc_label.h316 void SetArcTextOrientation(TextOrientation orientation) in SetArcTextOrientation()
331 TextOrientation GetArcTextOrientation() const in GetArcTextOrientation()
423 TextOrientation orientation);
430 TextOrientation orientation,
446 TextOrientation orientation_;
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_arc_label_unit_test.cpp195 arcLabel_->SetArcTextOrientation(TextOrientation::INSIDE);
197 TextOrientation::INSIDE);
198 arcLabel_->SetArcTextOrientation(TextOrientation::OUTSIDE);
200 TextOrientation::OUTSIDE);
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_arc_label/
H A Dui_test_arc_label.cpp93 TestArcLabelDisplay(title, 0, 270, TextOrientation::INSIDE, VIEW_DISTANCE_TO_LEFT_SIDE, in UIKitUIArcLabelTestDisplay001()
101 TestArcLabelDisplay(title, 0, -270, TextOrientation::INSIDE, VIEW_DISTANCE_TO_LEFT_SIDE, 100); in UIKitUIArcLabelTestDisplay002()
108 TestArcLabelDisplay(title, 0, 270, TextOrientation::OUTSIDE, VIEW_DISTANCE_TO_LEFT_SIDE, 200); in UIKitUIArcLabelTestDisplay003()
115 TestArcLabelDisplay(title, 0, -270, TextOrientation::OUTSIDE, VIEW_DISTANCE_TO_LEFT_SIDE, 300); in UIKitUIArcLabelTestDisplay004()
121 const TextOrientation orientation, in TestArcLabelDisplay()
H A Dui_test_arc_label.h96 const TextOrientation orientation, int16_t x, int16_t y);
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.h33TextOrientation orientation, const Style& style, uint8_t opaScale, bool compatibilityMode);
41 TextOrientation orientation,
H A Ddraw_label.cpp154 TextOrientation orientation, in DrawArcText()
172 bool orientationFlag = (orientation == TextOrientation::INSIDE); in DrawArcText()
216 TextOrientation orientation, in CalculateAngle()
237 … rotateAngle = (orientation == TextOrientation::INSIDE) ? angle : (angle - SEMICIRCLE_IN_DEGREE); in CalculateAngle()
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtyped_text.h71 TextOrientation orientation,
78 TextOrientation orientation);
H A Dtyped_text.cpp87 TextOrientation orientation, in GetArcTextRect()
96 … bool xorFlag = (orientation == TextOrientation::INSIDE) ^ (arcTextInfo.direct == TEXT_DIRECT_LTR); in GetArcTextRect()
131 (orientation == TextOrientation::INSIDE) ? angle : (angle - SEMICIRCLE_IN_DEGREE); in GetArcTextRect()
149 TextOrientation orientation) in GetAngleForArcLen()
155 static_cast<float>((orientation == TextOrientation::OUTSIDE) ? (radius + height) : radius); in GetAngleForArcLen()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_label.cpp149 orientation_(TextOrientation::INSIDE)
262 TextOrientation orientation) in DrawArcText()
282 … int16_t letterSpace, TextOrientation orientation, const ArcTextInfo& arcTextInfo) in GetArcTextRect()
344 …arcTextInfo_.radius = ((orientation_ == TextOrientation::INSIDE) ? radius_ : (radius_ - letterHeig… in MeasureArcTextInfo()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dtext.h157 enum class TextOrientation : uint8_t { enum