Searched refs:TextOrientation (Results 1 – 9 of 9) sorted by relevance
/foundation/graphic/ui/interfaces/kits/components/ |
D | ui_arc_label.h | 55 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/ |
D | ui_arc_label_unit_test.cpp | 195 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/ |
D | ui_test_arc_label.cpp | 73 …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()
|
D | ui_test_arc_label.h | 75 const UIArcLabel::TextOrientation orientation, int16_t x, int16_t y);
|
/foundation/graphic/ui/frameworks/common/ |
D | typed_text.h | 58 UIArcLabel::TextOrientation orientation, 65 UIArcLabel::TextOrientation orientation);
|
D | typed_text.cpp | 78 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/ |
D | draw_label.cpp | 72 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()
|
D | draw_label.h | 32 … UIArcLabel::TextOrientation orientation, const Style& style, uint8_t opaScale);
|
/foundation/graphic/ui/frameworks/components/ |
D | ui_arc_label.cpp | 32 orientation_(TextOrientation::INSIDE), 181 …arcTextInfo_.radius = ((orientation_ == TextOrientation::INSIDE) ? radius_ : (radius_ - letterHeig… in MeasureArcTextInfo()
|