Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 9 of 9) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgShape.cpp162 Result Shape::appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) … in appendArc() argument
165 if (sweep >= 360.0f || sweep <= -360.0f) return appendCircle(cx, cy, radius, radius); in appendArc()
169 sweep = deg2rad(sweep); in appendArc()
171 auto nCurves = static_cast<int>(fabsf(sweep / MATH_PI2)); in appendArc()
172 if (fabsf(sweep / MATH_PI2) - nCurves > arcPrecision) ++nCurves; in appendArc()
173 auto sweepSign = (sweep < 0 ? -1 : 1); in appendArc()
174 auto fract = fmodf(sweep, MATH_PI2); in appendArc()
DtvgSvgPath.cpp103 …* cur, Point* curCtl, float x, float y, float rx, float ry, float angle, bool largeArc, bool sweep) in _pathAppendArcTo() argument
181 if (largeArc == sweep) c = -c; in _pathAppendArcTo()
206 if (sweep) { in _pathAppendArcTo()
497 int large, sweep; in _nextCommand() local
517 if (_parseFlag(&path, &sweep)) { in _nextCommand()
521 arr[4] = (float)sweep; in _nextCommand()
DtvgCapi.cpp322 …arc(Tvg_Paint* paint, float cx, float cy, float radius, float startAngle, float sweep, uint8_t pie) in tvg_shape_append_arc() argument
325 …rn (Tvg_Result) reinterpret_cast<Shape*>(paint)->appendArc(cx, cy, radius, startAngle, sweep, pie); in tvg_shape_append_arc()
Dthorvg_capi.h1241 …rc(Tvg_Paint* paint, float cx, float cy, float radius, float startAngle, float sweep, uint8_t pie);
Dthorvg.h976 …Result appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexce…
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_path.c525 float sweep, in lv_vg_lite_path_append_arc() argument
530 if(sweep >= 360.0f || sweep <= -360.0f) { in lv_vg_lite_path_append_arc()
537 sweep = MATH_RADIANS(sweep); in lv_vg_lite_path_append_arc()
539 int n_curves = (int)ceil(MATH_FABSF(sweep / MATH_HALF_PI)); in lv_vg_lite_path_append_arc()
540 float sweep_sign = sweep < 0 ? -1.f : 1.f; in lv_vg_lite_path_append_arc()
541 float fract = fmodf(sweep, MATH_HALF_PI); in lv_vg_lite_path_append_arc()
Dlv_vg_lite_path.h126 float sweep,
/lvgl-latest/src/draw/
Dlv_draw_vector.c382 float sweep, bool pie) in lv_vector_path_append_arc() argument
388 if(sweep >= 360.0f || sweep <= -360.0f) { in lv_vector_path_append_arc()
394 sweep = MATH_RADIANS(sweep); in lv_vector_path_append_arc()
396 int n_curves = (int)ceil(fabsf(sweep / MATH_HALF_PI)); in lv_vector_path_append_arc()
397 float sweep_sign = sweep < 0 ? -1.f : 1.f; in lv_vector_path_append_arc()
398 float fract = fmodf(sweep, MATH_HALF_PI); in lv_vector_path_append_arc()
Dlv_draw_vector.h211 float sweep, bool pie);