Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 44) sorted by relevance

12

/lvgl-latest/src/libs/thorvg/
DtvgSwImage.cpp35 …if (tvg::equal(m.e11, 1.0f) && tvg::equal(m.e22, 1.0f) && tvg::zero(m.e12) && tvg::zero(m.e21)) re… in _onlyShifted()
92 if (tvg::zero(transform.e12) && tvg::zero(transform.e21)) image->scaled = true; in imagePrepare()
DtvgMath.h62 static inline bool zero(float a) in zero() function
70 return tvg::zero(a - b); in equal()
101 return !tvg::zero(m.e21 + m.e12); in skewed()
186 static inline bool zero(const Point& p) in zero() function
188 return tvg::zero(p.x) && tvg::zero(p.y); in zero()
DtvgLottieModifier.cpp135 if (tvg::zero(inPts[currentPt - 1] - inPts[currentPt])) { in line()
151 …return inCmds[cmd] == PathCommand::CubicTo && !tvg::zero(inPts[pt] - inPts[pt + 1]) && !tvg::zero(… in line()
197 tvg::zero(inPts[iPts - 1] - inPts[iPts]) && in modifyPath()
198 tvg::zero(inPts[iPts + 1] - inPts[iPts + 2])) { in modifyPath()
200 tvg::zero(inPts[iPts + 2] - inPts[iPts + 3]) && in modifyPath()
201 tvg::zero(inPts[iPts + 4] - inPts[iPts + 5])) { in modifyPath()
245 int start = 3 * tvg::zero(outerRoundness); in modifyPolystar()
326 … if (tvg::zero(inPts[iPt - 1] - inPts[iPt]) || tvg::zero(inPts[iPt + 1] - inPts[iPt + 2])) { in modifyPath()
DtvgSwFill.cpp74 return tvg::zero(radius) ? 0 : static_cast<uint32_t>(marginScalingFactor / radius); in _estimateAAMargin()
80 return tvg::zero(len) ? 0 : static_cast<uint32_t>(marginScalingFactor / len); in _estimateAAMargin()
223 if (tvg::zero(fill->linear.dx) && tvg::zero(fill->linear.dy)) { in _prepareLinear()
267 if (tvg::zero(r)) { in _prepareRadial()
559 if (tvg::zero(inc)) { in fillLinear()
590 if (tvg::zero(inc)) { in fillLinear()
632 if (tvg::zero(inc)) { in fillLinear()
674 if (tvg::zero(inc)) { in fillLinear()
721 if (tvg::zero(inc)) { in fillLinear()
761 if (tvg::zero(inc)) { in fillLinear()
DtvgSwMath.cpp162 if (angle == 0 || pt.zero()) return; in mathRotate()
184 if (pt.zero()) return 0; in mathAtan()
204 if (pt.zero()) return 0; in mathLength()
DtvgSaver.cpp166 if (tvg::zero(a->totalFrame())) { in save()
DtvgLottieBuilder.cpp389 if (tvg::zero(r)) { in _appendRect()
595 bool roundedCorner = roundness && (tvg::zero(innerRoundness) || tvg::zero(outerRoundness)); in _updateStar()
607 if (!tvg::zero(partialPointAmount)) { in _updateStar()
611 if (!tvg::zero(partialPointAmount)) { in _updateStar()
622 if (tvg::zero(innerRoundness) && tvg::zero(outerRoundness)) { in _updateStar()
638 if (!tvg::zero(partialPointRadius) && i == numPoints - 2) { in _updateStar()
641 if (!tvg::zero(partialPointRadius) && i == numPoints - 1) { in _updateStar()
667 if (!tvg::zero(partialPointAmount) && ((i == 0) || (i == numPoints - 1))) { in _updateStar()
715 auto hasRoundness = !tvg::zero(outerRoundness); in _updatePolygon()
DtvgSwShape.cpp109 if (tvg::zero(len)) { in _dashLineTo()
171 if (tvg::zero(len)) { in _dashCubicTo()
360 if (!tvg::zero(offset)) { in _genDashOutline()
DtvgSvgPath.cpp475 if (tvg::zero(arr[0]) || tvg::zero(arr[1])) { in _processCommand()
DtvgLottieModel.cpp172 if (tvg::zero(diff)) { in segment()
299 if (tvg::zero(progress)) { in fill()
DtvgSvgSceneBuilder.cpp743 } else if (!tvg::zero(symbol.vx) || !tvg::zero(symbol.vy)) { in _useBuildHelper()
923 } else if (!tvg::zero(vBox.x) || !tvg::zero(vBox.y)) { in svgSceneBuild()
/lvgl-latest/docs/details/other-components/
Dobj_id.rst30 :c:macro:`LV_USE_OBJ_ID_BUILTIN` is non-zero (more on this below);
40 non-zero value, it causes two things to happen:
70 wish. When it equates to a non-zero value the following function implementations are
119 If :c:macro:`LV_OBJ_ID_AUTO_ASSIGN` equates to a non-zero value (or if you otherwise
127 If :c:macro:`LV_BUILD_TEST` equates to a non-zero value and you are including LVGL
144 they are considered equal, and non-zero otherwise.
146 If :c:macro:`LV_OBJ_ID_AUTO_ASSIGN` equates to a non-zero value,
154 If :c:macro:`LV_OBJ_ID_AUTO_ASSIGN` equates to a non-zero value,
172 - :c:macro:`LV_USE_LOG` must equate to a non-zero value
177 :c:macro:`LV_USE_OBJ_ID` equates to a non-zero value, will also print the output of
Dfile_explorer.rst34 :c:macro:`LV_USE_TABLE` macro must be set to a non-zero value in ``lv_conf.h`` in
36 non-zero value to use the "Quick-Access" panel.
60 Set :c:macro:`LV_USE_FILE_EXPLORER` to a non-zero value in ``lv_conf.h``.
Dfont_manager.rst24 :c:macro:`LV_USE_FREETYPE` and :c:macro:`LV_USE_FONT_MANAGER` macros to non-zero
/lvgl-latest/src/widgets/bar/
Dlv_bar.c422 int32_t zero, shift; in draw_indic() local
429 zero = *axis1 - shift + 1; in draw_indic()
431 zero = *axis1 + shift; in draw_indic()
433 if(*axis2 > zero) { in draw_indic()
435 *left = zero; in draw_indic()
439 *right = zero; in draw_indic()
446 zero = *axis2 + shift; in draw_indic()
448 zero = *axis2 - shift + 1; in draw_indic()
450 if(*axis1 > zero) { in draw_indic()
452 *top = zero; in draw_indic()
[all …]
/lvgl-latest/docs/details/widgets/
Dtextarea.rst88 the zero-based index of the character the cursor should be placed in front of.
165 ``lv_conf.h`` to a non-zero value, the performance with long text is significantly
176 If :c:macro:`LV_LABEL_TEXT_SELECTION` is set to a non-zero value in ``lv_conf.h``,
200 the zero-based index of the first character of the selected text.
203 the zero-based index of the character just after the selected text.
205 - :cpp:expr:`lv_label_get_text_selection_start(ta_label)` zero-based index of the
208 - :cpp:expr:`lv_label_get_text_selection_end(ta_label)` zero-based index of the
Dchart.rst152 ``height`` have non-zero values.
156 :cpp:enumerator:`LV_PART_ITEMS` is a non-zero value, and the point's Y-value is
225 the zero-based index of the point you wish to update.
300 the new zero-based index position to start plotting from.
358 :cpp:expr:`lv_chart_get_pressed_point(chart)` returns the zero-based index of
Dbuttonmatrix.rst95 respectively. ``button_id`` is a zero-based button index (0 = first button).
137 to the text of the button specified by zero-based index ``button_id``.
Dtabview.rst101 returns the zero based index of the current tab.
Dbar.rst70 - :cpp:enumerator:`LV_BAR_MODE_SYMMETRICAL` Draws indicator from zero value to current value. Requi…
Droller.rst57 where *id* is the zero-based index of the list item to be selected.
Dlottie.rst74 … non-ASCII characters and ``--null-terminate`` makes sure that a trailing zero is appended to prop…
/lvgl-latest/docs/details/integration/renderers/
Dvg_lite.rst37 …- Set :c:macro:`LV_VG_LITE_FLUSH_MAX_COUNT` to zero (recommended). The rendering backend will obta…
43 …- Set :c:macro:`LV_VG_LITE_FLUSH_MAX_COUNT` to a value greater than zero, such as 8. After writing…
/lvgl-latest/docs/details/base-widget/layouts/
Dgrid.rst33 other tracks that have non-zero FR-unit values.
93 means the zero-based index of the cell in which the item should be placed.
Dflex.rst126 When more than one child Widget have non-zero grow values, all available space will
128 is 400 px space remaining and 3 child Widgets with non-zero grow values:

12