Skip to main content

Module offset

Module offset 

Source
Expand description

Path offset (inflate/shrink) module.

Direct port from clipper.offset.h / clipper.offset.cpp. Provides ClipperOffset for inflating/shrinking paths by a specified delta.

Structs§

ClipperOffset
Path offset (inflate/shrink) engine. Direct port from ClipperOffset class (clipper.offset.h / clipper.offset.cpp).

Enums§

EndType
End type for open path offsetting. Direct port from clipper.offset.h line 23.
JoinType
Join type for path offsetting. Direct port from clipper.offset.h line 19.

Type Aliases§

DeltaCallback64
Delta callback type for variable offset. Called for each vertex to determine the offset delta at that point. Parameters: (path, path_normals, curr_idx, prev_idx) -> delta