Lines Matching refs:offset
240 static void _dashMoveTo(SwDashStroke& dash, uint32_t offIdx, float offset, const Point* pts) in _dashMoveTo() argument
243 dash.curLen = dash.pattern[dash.curIdx] - offset; in _dashMoveTo()
343 auto offset = 0.0f; in _genDashOutline() local
344 dash.cnt = rshape->strokeDash((const float**)&dash.pattern, &offset); in _genDashOutline()
360 if (!tvg::zero(offset)) { in _genDashOutline()
365 offset = fmodf(offset, patternLength); in _genDashOutline()
366 if (offset < 0) offset += patternLength; in _genDashOutline()
370 if (offset < curPattern) break; in _genDashOutline()
371 offset -= curPattern; in _genDashOutline()
380 _dashMoveTo(dash, offIdx, offset, pts); in _genDashOutline()
395 _dashMoveTo(dash, offIdx, offset, pts); in _genDashOutline()
397 } else _dashMoveTo(dash, offIdx, offset, pts); in _genDashOutline()