For area/ribbon/density geoms: converts a curved boundary (list of Bézier
control-point sets) into a polygon approximation, then applies sketch_fill.
Usage
curve_fill(bezier_list, tol = 0.001, rdp_eps = 1e-04, ...)
Arguments
- bezier_list
List of 4-element lists, each with P0, P1, P2,
P3 (each a length-2 c(x,y) vector in inch space). The list describes a
closed path.
- tol
Flatness tolerance for flattening. Default 1e-3.
- rdp_eps
RDP epsilon. Default 1e-4.
- ...
Passed to sketch_fill.
Value
List of fill-line segments (same structure as sketch_fill).