Searched refs:ctrl2 (Results 1 – 8 of 8) sorted by relevance
/lvgl-latest/src/libs/thorvg/ |
D | tvgMath.cpp | 58 …hFunc(cur.start, cur.ctrl1) + lineLengthFunc(cur.ctrl1, cur.ctrl2) + lineLengthFunc(cur.ctrl2, cur… in _bezLength() 249 auto c = (ctrl1.x + ctrl2.x) * 0.5f; in split() 251 right.ctrl2.x = (ctrl2.x + end.x) * 0.5f; in split() 254 left.ctrl2.x = (left.ctrl1.x + c) * 0.5f; in split() 255 right.ctrl1.x = (right.ctrl2.x + c) * 0.5f; in split() 256 left.end.x = right.start.x = (left.ctrl2.x + right.ctrl1.x) * 0.5f; in split() 258 c = (ctrl1.y + ctrl2.y) * 0.5f; in split() 260 right.ctrl2.y = (ctrl2.y + end.y) * 0.5f; in split() 263 left.ctrl2.y = (left.ctrl1.y + c) * 0.5f; in split() 264 right.ctrl1.y = (right.ctrl2.y + c) * 0.5f; in split() [all …]
|
D | tvgSwShape.cpp | 72 static void _outlineCubicTo(SwOutline& outline, const Point* ctrl1, const Point* ctrl2, const Point… in _outlineCubicTo() argument 77 outline.pts.push(mathTransform(ctrl2, transform)); in _outlineCubicTo() 165 static void _dashCubicTo(SwDashStroke& dash, const Point* ctrl1, const Point* ctrl2, const Point* t… in _dashCubicTo() argument 167 Bezier cur = {dash.ptCur, *ctrl1, *ctrl2, *to}; in _dashCubicTo() 180 _outlineCubicTo(*dash.outline, ctrl1, ctrl2, to, transform); in _dashCubicTo() 194 _outlineCubicTo(*dash.outline, &left.ctrl1, &left.ctrl2, &left.end, transform); in _dashCubicTo() 213 _outlineCubicTo(*dash.outline, &cur.ctrl1, &cur.ctrl2, &cur.end, transform); in _dashCubicTo()
|
D | tvgLottieModifier.cpp | 336 …r.start - bezier.ctrl1) + tvg::length(bezier.ctrl1 - bezier.ctrl2) + tvg::length(bezier.ctrl2 - be… in modifyPath() 347 auto line2 = _offset(bezier.ctrl1, bezier.ctrl2, offset); in modifyPath() 348 auto line3 = _offset(bezier.ctrl2, bezier.end, offset); in modifyPath()
|
D | tvgShape.cpp | 209 Point ctrl2 = {bx + k2 * by + cx, by - k2 * bx + cy}; in appendArc() local 211 pImpl->cubicTo(ctrl1.x, ctrl1.y, ctrl2.x, ctrl2.y, end.x, end.y); in appendArc()
|
D | tvgSwStroke.cpp | 119 static void _borderCubicTo(SwStrokeBorder* border, const SwPoint& ctrl1, const SwPoint& ctrl2, cons… in _borderCubicTo() argument 127 pt[1] = ctrl2; in _borderCubicTo() 430 static void _cubicTo(SwStroke& stroke, const SwPoint& ctrl1, const SwPoint& ctrl2, const SwPoint& t… in _cubicTo() argument 437 arc[1] = ctrl2; in _cubicTo()
|
D | tvgMath.h | 280 Point ctrl2; member
|
D | tvgSwRle.cpp | 633 static void _cubicTo(RleWorker& rw, const SwPoint& ctrl1, const SwPoint& ctrl2, const SwPoint& to) in _cubicTo() argument 637 arc[1] = ctrl2; in _cubicTo()
|
/lvgl-latest/src/draw/ |
D | lv_draw_vector.c | 442 lv_fpoint_t ctrl2 = {bx + k2 * by + cx, by - k2 * bx + cy}; in lv_vector_path_append_arc() local 444 lv_vector_path_cubic_to(path, &ctrl1, &ctrl2, &end); in lv_vector_path_append_arc()
|