-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a simple cubic going crazy #117
Comments
Should be fixed by 2f79eb2 |
Tested your fix: I should say that it's only partially fixed. Consider this cubic ----- here is a fiddle for testing ---- BLPath mycubic(BLPoint P0, BLPoint P1, BLPoint P2, BLPoint P3) { path.moveTo(P0); BLImage render(const BLContextCreateInfo& cci) { ctx.clearAll(); double width = ctx.targetWidth(); // translate origin at center of the screen
ctx.setFillStyle(BLRgba32(0xFF808080)); // set color for the next cubics ..
return img; |
I'm not sure what I've found regarding degenerate cubics not rendered The first thing I noted is at line 288 I could be wrong, I didn't debug the code, just read it, and honestly, I didn't understand the used algorithm, |
it's a just a simple cubic, but for some degenerate cases it takes seconds and gigabytes of memory !
The text was updated successfully, but these errors were encountered: