Skip to content

RectClipLines

Seth Hillbrand edited this page Oct 29, 2026 · 2 revisions

Home › clipper.h › RectClipLines

RectClipLines

Paths64 RectClipLines64(const Rect64 rect, const Paths64& subjects);
PathsD RectClipLinesD(const RectD rect, const PathsD& subjects);

RectClipLines64 and RectClipLinesD intersect open subject paths (polylines) with the specified rectangular clipping region.

These functions are extremely fast when compared to the Library's general purpose polygon clipper. Where the general purpose Intersect function has roughly O(n³) performance, RectClipLines has O(n) performance.

See Also

Intersect, RectClip, Paths64, PathsD, Rect64, RectD

Clone this wiki locally