Home
last modified time | relevance | path

Searched refs:xorFlag (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp174 bool xorFlag = !directFlag; in DrawArcText() local
176 xorFlag = !((orientationFlag && directFlag) || (!orientationFlag && !directFlag)); in DrawArcText()
194 arcTextInfo, xorFlag, tmp, orientation, in DrawArcText()
214 bool xorFlag, in CalculateAngle()
226 if ((index == arcTextInfo.lineStart) && xorFlag) { in CalculateAngle()
241 rotateAngle += (xorFlag ? -fineTuningAngle : fineTuningAngle); in CalculateAngle()
251 rotateAngle = xorFlag ? (angle - SEMICIRCLE_IN_DEGREE - fineTuningAngle) : (angle + fineTuningAngle); in CalculateAngle()
253 angle = xorFlag ? (angle - incrementAngle) : (angle + incrementAngle); 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 Ddraw_label.h39 bool xorFlag,
/foundation/arkui/ui_lite/frameworks/common/
H A Dtyped_text.cpp96 bool xorFlag = (orientation == TextOrientation::INSIDE) ^ (arcTextInfo.direct == TEXT_DIRECT_LTR); in GetArcTextRect() local
115 angle += xorFlag ? GetAngleForArcLen(static_cast<float>(letterWidth), letterHeight, arcTextInfo.radius, in GetArcTextRect()
134 rotateAngle += (xorFlag ? -fineTuningAngle : fineTuningAngle); in GetArcTextRect()

Completed in 3 milliseconds