Lines Matching refs:offset
82 static Line _offset(const Point& p1, const Point& p2, float offset) in _offset() argument
84 auto scaledNormal = normal(p1, p2) * offset; in _offset()
133 …te& state, bool degenerated, Array<PathCommand>& outCmds, Array<Point>& outPts, float offset) const in line()
140 … - 1] != PathCommand::LineTo) state.line = _offset(inPts[currentPt - 1], inPts[currentPt], offset); in line()
163 …To) nextLine = _offset(inPts[currentPt + degenerated], inPts[currentPt + 1 + degenerated], offset); in line()
164 …nextLine = _offset(inPts[currentPt + 1 + degenerated], inPts[currentPt + 2 + degenerated], offset); in line()
166 …xtLine = _offset(inPts[currentPt + degenerated], inPts[state.movetoInIndex + degenerated], offset); in line()
315 auto offset = _clockwise(inPts, inPtsCnt) ? this->offset : -this->offset; in modifyPath() local
316 auto threshold = 1.0f / fabsf(offset) + 1.0f; in modifyPath()
323 line(inCmds, inCmdsCnt, inPts, iPt, iCmd, state, false, outCmds, outPts, offset); in modifyPath()
328 line(inCmds, inCmdsCnt, inPts, iPt, iCmd, state, true, outCmds, outPts, offset); in modifyPath()
346 auto line1 = _offset(bezier.start, bezier.ctrl1, offset); in modifyPath()
347 auto line2 = _offset(bezier.ctrl1, bezier.ctrl2, offset); in modifyPath()
348 auto line3 = _offset(bezier.ctrl2, bezier.end, offset); in modifyPath()
395 rx += offset; in modifyEllipse()
396 ry += offset; in modifyEllipse()