Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/thorvg/
DtvgSwShape.cpp104 static void _dashLineTo(SwDashStroke& dash, const Point* to, const Matrix& transform) in _dashLineTo() argument
106 Line cur = {dash.ptCur, *to}; in _dashLineTo()
110 _outlineMoveTo(*dash.outline, &dash.ptCur, transform); in _dashLineTo()
112 } else if (len <= dash.curLen) { in _dashLineTo()
113 dash.curLen -= len; in _dashLineTo()
114 if (!dash.curOpGap) { in _dashLineTo()
115 if (dash.move) { in _dashLineTo()
116 _outlineMoveTo(*dash.outline, &dash.ptCur, transform); in _dashLineTo()
117 dash.move = false; in _dashLineTo()
119 _outlineLineTo(*dash.outline, to, transform); in _dashLineTo()
[all …]
DtvgSvgCssStyle.cpp141 if (from->stroke.dash.array.count > 0) { in _copyStyle()
142 to->stroke.dash.array.clear(); in _copyStyle()
143 to->stroke.dash.array.reserve(from->stroke.dash.array.count); in _copyStyle()
144 for (uint32_t i = 0; i < from->stroke.dash.array.count; ++i) { in _copyStyle()
145 to->stroke.dash.array.push(from->stroke.dash.array[i]); in _copyStyle()
DtvgSvgLoader.cpp362 static void _parseDashArray(SvgLoaderData* loader, const char *str, SvgDash* dash) in _PARSE_TAG()
379 (*dash).array.push(parsedValue); in _PARSE_TAG()
383 if ((*dash).array.count == 1) (*dash).array.push((*dash).array[0]); in _PARSE_TAG()
1061 _parseDashArray(loader, value, &node->style->stroke.dash); in _handleStrokeDashArrayAttr()
1067 …node->style->stroke.dash.offset = _toFloat(loader->svgParse, value, SvgParserLengthType::Horizonta… in _handleStrokeDashOffsetAttr()
3011 if (parent->stroke.dash.array.count > 0) { in _styleInherit()
3012 child->stroke.dash.array.clear(); in _styleInherit()
3013 child->stroke.dash.array.reserve(parent->stroke.dash.array.count); in _styleInherit()
3014 for (uint32_t i = 0; i < parent->stroke.dash.array.count; ++i) { in _styleInherit()
3015 child->stroke.dash.array.push(parent->stroke.dash.array[i]); in _styleInherit()
[all …]
DtvgLottieModel.h52 LottieFloat& dash(int no) in dash() function
60 return dash(0)(frameNo, exps); in dashOffset()
65 return dash(2)(frameNo, exps); in dashGap()
70 auto d = dash(1)(frameNo, exps); in dashSize()
DtvgSvgSceneBuilder.cpp365 if (style->stroke.dash.array.count > 0) { in _applyProperty()
366 …P(vg)->strokeDash(style->stroke.dash.array.data, style->stroke.dash.array.count, style->stroke.das… in _applyProperty()
DtvgSvgLoaderCommon.h489 SvgDash dash; member
DtvgLottieParser.cpp652 parseProperty<LottieProperty::Type::Float>(stroke->dash(idx)); in parseStrokeDash()
/lvgl-latest/docs/details/integration/chip/
Dnxp.rst375 - Draw lines (w/ dash or rounded edges).
/lvgl-latest/docs/details/base-widget/styles/
Dstyle-properties.rst979 Set width of dashes in pixels. Note that dash works only on horizontal and vertical lines
993 Set gap between dashes in pixels. Note that dash works only on horizontal and vertical lines