Clpr.Path64
Rectangular clipping, simplification, and other transformations on sequences of vertices (int64) defining a single contour (open or closed path).
val make : unit -> t
val reserve : t -> int -> unit
reserve t n
Reserves memory for up to n
points in the path vector t
.
val of_tups : (int64 * int64) list -> t
val length : t -> int
val bounds : t -> {rect64}5
val rect_clip : ?closed:bool -> t -> {rect64}5 -> {paths64}7
val strip_duplicates : ?closed:bool -> t -> unit
val area : t -> float
val is_positive : t -> bool