Searched refs:SwPoint (Results 1 – 5 of 5) sorted by relevance
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwStroke.cpp | 45 static inline void SCALE(const SwStroke& stroke, SwPoint& pt) in SCALE() 64 border->pts = static_cast<SwPoint*>(realloc(border->pts, maxCur * sizeof(SwPoint))); in _growBorder() 119 … void _borderCubicTo(SwStrokeBorder* border, const SwPoint& ctrl1, const SwPoint& ctrl2, const SwP… in _borderCubicTo() 139 static void _borderArcTo(SwStrokeBorder* border, const SwPoint& center, SwFixed radius, SwFixed ang… in _borderArcTo() 142 SwPoint a = {static_cast<SwCoord>(radius), 0}; in _borderArcTo() 163 SwPoint b = {static_cast<SwCoord>(radius), 0}; in _borderArcTo() 171 SwPoint a2 = {static_cast<SwCoord>(length), 0}; in _borderArcTo() 176 SwPoint b2 = {static_cast<SwCoord>(length), 0}; in _borderArcTo() 192 static void _borderLineTo(SwStrokeBorder* border, const SwPoint& to, bool movable) in _borderLineTo() 211 static void _borderMoveTo(SwStrokeBorder* border, SwPoint& to) in _borderMoveTo() [all …]
|
D | tvgSwRle.cpp | 225 SwPoint cellPos; 226 SwPoint cellMin; 227 SwPoint cellMax; 238 SwPoint pos; 240 SwPoint bezStack[32 * 3 + 1]; 241 SwPoint lineStack[32 + 1]; 262 static inline SwPoint UPSCALE(const SwPoint& pt) in UPSCALE() 268 static inline SwPoint TRUNC(const SwPoint& pt) in TRUNC() 280 static inline SwPoint SUBPIXELS(const SwPoint& pt) in SUBPIXELS() 296 static inline SwCoord HYPOT(SwPoint pt) in HYPOT() [all …]
|
D | tvgSwCommon.h | 48 struct SwPoint struct 52 SwPoint& operator+=(const SwPoint& rhs) argument 59 SwPoint operator+(const SwPoint& rhs) const 64 SwPoint operator-(const SwPoint& rhs) const 69 bool operator==(const SwPoint& rhs) const 74 bool operator!=(const SwPoint& rhs) const 105 Array<SwPoint> pts; //the outline's points argument 128 SwPoint min, max; 167 SwPoint* pts; 177 SwPoint center; [all …]
|
D | tvgSwMath.cpp | 50 int mathCubicAngle(const SwPoint* base, SwFixed& angleIn, SwFixed& angleMid, SwFixed& angleOut) in mathCubicAngle() 160 void mathRotate(SwPoint& pt, SwFixed angle) in mathRotate() 182 SwFixed mathAtan(const SwPoint& pt) in mathAtan() 202 SwFixed mathLength(const SwPoint& pt) in mathLength() 222 void mathSplitCubic(SwPoint* base) in mathSplitCubic() 248 void mathSplitLine(SwPoint* base) in mathSplitLine() 269 SwPoint mathTransform(const Point* to, const Matrix& transform) in mathTransform()
|
D | tvgSwShape.cpp | 434 auto a = SwPoint{pt1->x, pt3->y}; in _axisAlignedRect() 435 auto b = SwPoint{pt3->x, pt1->y}; in _axisAlignedRect()
|