Lines Matching refs:outPts
102 …, uint32_t movetoOutIndex, bool nextClose, Array<PathCommand>& outCmds, Array<Point>& outPts) const in corner()
108 if (nextClose) outPts[movetoOutIndex] = intersect; in corner()
109 outPts.push(intersect); in corner()
111 outPts.push(line.pt2); in corner()
114 outPts.push((line.pt2 + intersect) * 0.5f); in corner()
115 outPts.push((nextLine.pt1 + intersect) * 0.5f); in corner()
116 outPts.push(nextLine.pt1); in corner()
122 … miterLimit * fabsf(miterDirection.x * norm.x + miterDirection.y * norm.y)) outPts.push(intersect); in corner()
123 else outPts.push(nextLine.pt1); in corner()
126 outPts.push(nextLine.pt1); in corner()
129 } else outPts.push(line.pt2); in corner()
133 …ate& state, bool degenerated, Array<PathCommand>& outCmds, Array<Point>& outPts, float offset) con… in line() argument
144 state.movetoOutIndex = outPts.count; in line()
145 outPts.push(state.line.pt1); in line()
157 outPts.push(state.line.pt2); in line()
168 …ne, nextLine, state.movetoOutIndex, inCmds[currentCmd + 1] == PathCommand::Close, outCmds, outPts); in line()
178 …nt* inPts, uint32_t inPtsCnt, Array<PathCommand>& outCmds, Array<Point>& outPts, Matrix* transform… in modifyPath() argument
181 outPts.reserve((uint32_t)(inPtsCnt * 1.5)); in modifyPath()
182 auto ptsCnt = outPts.count; in modifyPath()
188 startIndex = outPts.count; in modifyPath()
190 outPts.push(inPts[iPts++]); in modifyPath()
202 _roundCorner(outCmds, outPts, prev, curr, inPts[iPts + 5], r); in modifyPath()
206 _roundCorner(outCmds, outPts, prev, curr, inPts[2], r); in modifyPath()
207 outPts[startIndex] = outPts.last(); in modifyPath()
213 outPts.push(inPts[iPts++]); in modifyPath()
214 outPts.push(inPts[iPts++]); in modifyPath()
215 outPts.push(inPts[iPts++]); in modifyPath()
226 for (auto i = ptsCnt; i < outPts.count; ++i) { in modifyPath()
227 outPts[i] *= *transform; in modifyPath()
234 …s, const Array<Point>& inPts, Array<PathCommand>& outCmds, Array<Point>& outPts, float outerRoundn… in modifyPolystar() argument
243 outPts.grow((uint32_t)(4.5 * inCmds.count)); in modifyPolystar()
247 outPts.push(inPts[start]); in modifyPolystar()
263 outPts.push(prev); outPts.push(p0); outPts.push(p0); in modifyPolystar()
265 outPts.push(p1); outPts.push(p2); outPts.push(p3); in modifyPolystar()
267 outPts.push(p3); outPts.push(next); outPts.push(nextCtrl); in modifyPolystar()
271 outPts.grow(4 * inCmds.count); in modifyPolystar()
276 outPts.push(p); in modifyPolystar()
289 outPts.push(p0); in modifyPolystar()
291 outPts.push(p1); outPts.push(p2); outPts.push(p3); in modifyPolystar()
308 …nt, const Point* inPts, uint32_t inPtsCnt, Array<PathCommand>& outCmds, Array<Point>& outPts) const in modifyPath()
311 outPts.reserve(inPtsCnt * (join == StrokeJoin::Round ? 4 : 2)); 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()
352 state.movetoOutIndex = outPts.count; in modifyPath()
353 outPts.push(line1.pt1); in modifyPath()
361 outPts.push(intersect); in modifyPath()
363 outPts.push(intersect); in modifyPath()
364 outPts.push(line3.pt2); in modifyPath()
373 corner(state.line, state.firstLine, state.movetoOutIndex, true, outCmds, outPts); in modifyPath()
382 …and>& inCmds, const Array<Point>& inPts, Array<PathCommand>& outCmds, Array<Point>& outPts) const { in modifyPolystar()
383 return modifyPath(inCmds.data, inCmds.count, inPts.data, inPts.count, outCmds, outPts); in modifyPolystar()
387 …nt, const Point* inPts, uint32_t inPtsCnt, Array<PathCommand>& outCmds, Array<Point>& outPts) const in modifyRect()
389 return modifyPath(inCmds, inCmdsCnt, inPts, inPtsCnt, outCmds, outPts); in modifyRect()