comment source of idea
This commit is contained in:
parent
676a77fbf9
commit
d330bbc54b
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
using namespace Slic3r;
|
using namespace Slic3r;
|
||||||
|
|
||||||
|
// inspired by nanosvgrast.h function nsvgRasterize -> nsvg__flattenShape -> nsvg__flattenCubicBez
|
||||||
|
// https://github.com/memononen/nanosvg/blob/f0a3e1034dd22e2e87e5db22401e44998383124e/src/nanosvgrast.h#L335
|
||||||
void NSVGUtils::flatten_cubic_bez(Polygon &polygon,
|
void NSVGUtils::flatten_cubic_bez(Polygon &polygon,
|
||||||
float tessTol,
|
float tessTol,
|
||||||
Vec2f p1,
|
Vec2f p1,
|
||||||
|
Loading…
Reference in New Issue
Block a user