Lines Matching refs:pts
64 border->pts = static_cast<SwPoint*>(realloc(border->pts, maxCur * sizeof(SwPoint))); in _growBorder()
82 border->pts[start] = border->pts[count]; in _borderClose()
86 auto pt1 = border->pts + start + 1; in _borderClose()
87 auto pt2 = border->pts + count - 1; in _borderClose()
123 auto pt = border->pts + border->ptsCnt; in _borderCubicTo()
196 border->pts[border->ptsCnt - 1] = to; in _borderLineTo()
199 if (border->ptsCnt > 0 && (border->pts[border->ptsCnt - 1] - to).small()) return; in _borderLineTo()
202 border->pts[border->ptsCnt] = to; in _borderLineTo()
525 auto _start = border->pts[border->ptsCnt - 1]; in _cubicTo()
635 auto dstPt = right->pts + right->ptsCnt; in _addReverseLeft()
637 auto srcPt = left->pts + left->ptsCnt - 1; in _addReverseLeft()
640 while (srcPt >= left->pts + left->start) { in _addReverseLeft()
778 memcpy(outline->pts.data + outline->pts.count, border->pts, border->ptsCnt * sizeof(SwPoint)); in _exportBorderOutline()
783 auto idx = outline->pts.count; in _exportBorderOutline()
795 outline->pts.count += border->ptsCnt; in _exportBorderOutline()
809 if (stroke->borders[0].pts) free(stroke->borders[0].pts); in strokeFree()
811 if (stroke->borders[1].pts) free(stroke->borders[1].pts); in strokeFree()
846 auto limit = outline.pts.data + last; in strokeParseOutline()
854 auto start = outline.pts[first]; in strokeParseOutline()
855 auto pt = outline.pts.data + first; in strokeParseOutline()
901 outline->pts.reserve(ptsCnt); in strokeExportOutline()