CF_ShapeOp¶
Category: draw
GitHub: cute_draw.h
Boolean operators for composing shapes inside a shape group. See cf_draw_shape_group_begin.
Values¶
| Enum | Description |
|---|---|
CF_SHAPE_OP_UNION |
Add the shape to the composite (SDF min). |
CF_SHAPE_OP_SUBTRACT |
Carve the shape out of the composite (SDF max(a, -b)). |
CF_SHAPE_OP_INTERSECT |
Keep only the overlap with the composite (SDF max). |
Related Pages¶
cf_draw_shape_group_end
cf_draw_shape_group_begin
cf_draw_shape_group_op