Home
last modified time | relevance | path

Searched refs:ctrl1 (Results 1 – 8 of 8) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgMath.cpp58 …auto len = lineLengthFunc(cur.start, cur.ctrl1) + lineLengthFunc(cur.ctrl1, cur.ctrl2) + lineLengt… in _bezLength()
249 auto c = (ctrl1.x + ctrl2.x) * 0.5f; in split()
250 left.ctrl1.x = (start.x + ctrl1.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()
259 left.ctrl1.y = (start.y + ctrl1.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 …]
DtvgSwShape.cpp72 static void _outlineCubicTo(SwOutline& outline, const Point* ctrl1, const Point* ctrl2, const Point… in _outlineCubicTo() argument
74 outline.pts.push(mathTransform(ctrl1, 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()
DtvgLottieModifier.cpp336 …auto len = tvg::length(bezier.start - bezier.ctrl1) + tvg::length(bezier.ctrl1 - bezier.ctrl2) + t… in modifyPath()
346 auto line1 = _offset(bezier.start, bezier.ctrl1, offset); in modifyPath()
347 auto line2 = _offset(bezier.ctrl1, bezier.ctrl2, offset); in modifyPath()
DtvgShape.cpp208 Point ctrl1 = {ax - k2 * ay + cx, ay + k2 * ax + cy}; in appendArc() local
211 pImpl->cubicTo(ctrl1.x, ctrl1.y, ctrl2.x, ctrl2.y, end.x, end.y); in appendArc()
DtvgSwStroke.cpp119 static void _borderCubicTo(SwStrokeBorder* border, const SwPoint& ctrl1, const SwPoint& ctrl2, cons… in _borderCubicTo() argument
126 pt[0] = ctrl1; in _borderCubicTo()
430 static void _cubicTo(SwStroke& stroke, const SwPoint& ctrl1, const SwPoint& ctrl2, const SwPoint& t… in _cubicTo() argument
438 arc[2] = ctrl1; in _cubicTo()
DtvgMath.h279 Point ctrl1; member
DtvgSwRle.cpp633 static void _cubicTo(RleWorker& rw, const SwPoint& ctrl1, const SwPoint& ctrl2, const SwPoint& to) in _cubicTo() argument
638 arc[2] = ctrl1; in _cubicTo()
/lvgl-latest/src/draw/
Dlv_draw_vector.c441 lv_fpoint_t ctrl1 = {ax - k2 * ay + cx, ay + k2 * ax + cy}; in lv_vector_path_append_arc() local
444 lv_vector_path_cubic_to(path, &ctrl1, &ctrl2, &end); in lv_vector_path_append_arc()