Searched refs:SwFixed (Results 1 – 3 of 3) sorted by relevance
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwMath.cpp | 34 static float TO_RADIAN(SwFixed angle) in TO_RADIAN() 44 SwFixed mathMean(SwFixed angle1, SwFixed angle2) in mathMean() 50 int mathCubicAngle(const SwPoint* base, SwFixed& angleIn, SwFixed& angleMid, SwFixed& angleOut) in mathCubicAngle() 160 void mathRotate(SwPoint& pt, SwFixed angle) in mathRotate() 175 SwFixed mathTan(SwFixed angle) in mathTan() 178 return SwFixed(tanf(TO_RADIAN(angle)) * 65536.0f); in mathTan() 182 SwFixed mathAtan(const SwPoint& pt) in mathAtan() 185 return SwFixed(tvg::atan2(TO_FLOAT(pt.y), TO_FLOAT(pt.x)) * (180.0f / MATH_PI) * 65536.0f); in mathAtan() 189 SwFixed mathSin(SwFixed angle) in mathSin() 196 SwFixed mathCos(SwFixed angle) in mathCos() [all …]
|
D | tvgSwCommon.h | 40 using SwFixed = signed long long; variable 175 SwFixed angleIn; 176 SwFixed angleOut; 178 SwFixed lineLength; 179 SwFixed subPathAngle; 181 SwFixed subPathLineLength; 182 SwFixed width; 183 SwFixed miterlimit; 488 void mathRotate(SwPoint& pt, SwFixed angle); 489 SwFixed mathTan(SwFixed angle); [all …]
|
D | tvgSwStroke.cpp | 39 static inline SwFixed SIDE_TO_ROTATE(const int32_t s) in SIDE_TO_ROTATE() 41 return (SW_ANGLE_PI2 - static_cast<SwFixed>(s) * SW_ANGLE_PI); in SIDE_TO_ROTATE() 139 …erArcTo(SwStrokeBorder* border, const SwPoint& center, SwFixed radius, SwFixed angleStart, SwFixed… in _borderArcTo() 141 constexpr SwFixed ARC_CUBIC_ANGLE = SW_ANGLE_PI / 2; in _borderArcTo() 235 static void _outside(SwStroke& stroke, int32_t side, SwFixed lineLength) in _outside() 245 SwFixed phi = 0; in _outside() 246 SwFixed thcos = 0; in _outside() 296 static void _inside(SwStroke& stroke, int32_t side, SwFixed lineLength) in _inside() 307 SwFixed minLength = abs(mathMultiply(stroke.width, mathTan(theta))); in _inside() 333 void _processCorner(SwStroke& stroke, SwFixed lineLength) in _processCorner() [all …]
|