Home
last modified time | relevance | path

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

/foundation/graphic/ui/interfaces/kits/components/
Dui_arc_label.h55 enum class TextOrientation : uint8_t { enum
320 void SetArcTextOrientation(TextOrientation orientation) in SetArcTextOrientation()
335 TextOrientation GetArcTextOrientation() const in GetArcTextOrientation()
387 TextOrientation orientation_;
/foundation/graphic/ui/test/unittest/components/
Dui_arc_label_unit_test.cpp195 arcLabel_->SetArcTextOrientation(UIArcLabel::TextOrientation::INSIDE);
197 UIArcLabel::TextOrientation::INSIDE);
198 arcLabel_->SetArcTextOrientation(UIArcLabel::TextOrientation::OUTSIDE);
200 UIArcLabel::TextOrientation::OUTSIDE);
/foundation/graphic/ui/test/uitest/test_arc_label/
Dui_test_arc_label.cpp73 …TestArcLabelDisplay(title, 0, 270, UIArcLabel::TextOrientation::INSIDE, VIEW_DISTANCE_TO_LEFT_SIDE, in UIKit_UIArcLabel_Test_Display_001()
81 …TestArcLabelDisplay(title, 0, -270, UIArcLabel::TextOrientation::INSIDE, VIEW_DISTANCE_TO_LEFT_SID… in UIKit_UIArcLabel_Test_Display_002()
88 …TestArcLabelDisplay(title, 0, 270, UIArcLabel::TextOrientation::OUTSIDE, VIEW_DISTANCE_TO_LEFT_SID… in UIKit_UIArcLabel_Test_Display_003()
95 …TestArcLabelDisplay(title, 0, -270, UIArcLabel::TextOrientation::OUTSIDE, VIEW_DISTANCE_TO_LEFT_SI… in UIKit_UIArcLabel_Test_Display_004()
101 const UIArcLabel::TextOrientation orientation, in TestArcLabelDisplay()
Dui_test_arc_label.h75 const UIArcLabel::TextOrientation orientation, int16_t x, int16_t y);
/foundation/graphic/ui/frameworks/common/
Dtyped_text.h58 UIArcLabel::TextOrientation orientation,
65 UIArcLabel::TextOrientation orientation);
Dtyped_text.cpp78 UIArcLabel::TextOrientation orientation, in GetArcTextRect()
87 …bool xorFlag = (orientation == UIArcLabel::TextOrientation::INSIDE) ^ (arcTextInfo.direct == TEXT_… in GetArcTextRect()
123 … (orientation == UIArcLabel::TextOrientation::INSIDE) ? angle : (angle - SEMICIRCLE_IN_DEGREE); in GetArcTextRect()
141 UIArcLabel::TextOrientation orientation) in GetAngleForArcLen()
147 …static_cast<float>((orientation == UIArcLabel::TextOrientation::OUTSIDE) ? (radius + height) : rad… in GetAngleForArcLen()
/foundation/graphic/ui/frameworks/draw/
Ddraw_label.cpp72 UIArcLabel::TextOrientation orientation, in DrawArcText()
92 bool orientationFlag = (orientation == UIArcLabel::TextOrientation::INSIDE); in DrawArcText()
117 …rotateAngle = (orientation == UIArcLabel::TextOrientation::INSIDE) ? angle : (angle - SEMICIRCLE_I… in DrawArcText()
Ddraw_label.h32 … UIArcLabel::TextOrientation orientation, const Style& style, uint8_t opaScale);
/foundation/graphic/ui/frameworks/components/
Dui_arc_label.cpp32 orientation_(TextOrientation::INSIDE),
181 …arcTextInfo_.radius = ((orientation_ == TextOrientation::INSIDE) ? radius_ : (radius_ - letterHeig… in MeasureArcTextInfo()