-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Add smooth arc function #587
Comments
hi, thanks for your suggestion 👍 apparently also the I'll update this thread with the progress. |
I was a bit shocked by the brute force used in also I forgot @oldmud0 anything you can suggest to help implement smoothness in |
Any progress? |
yes: LGFX's arc helper primitives are based on ellipse (e.g. a circle is an ellipse with two equal radiuses), so there are two paths to get this done:
I don't have the time and skills to do either points, but I can provide support and help for anything related to a proper integration in LovyanGFX. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Carefully written requests are more likely to be given priority.
丁寧に記述された要望は優先して対応される可能性が高くなります。
Is your feature request related to a problem? Please describe.
Compared to TFT_eSPI, LGFX lacks smooth arc functions. (In TFT_eSPI, this is the
TFT_eSPI::drawSmoothArc
function). This would also be a great feature to have, considering that LGFX already has smooth lines, smooth circles, and smooth round rects.Describe the solution you'd like
Add the
smooth
parameter tofill_arc_helper
,fillEllipseArc
, anddrawEllipseArc
to support newdrawSmoothArc
andfillSmoothArc
functions, and implement the antialiasing code.Describe alternatives you've considered
I've looked at the TFT_eSPI code and considered copying it, but the arc functions don't line up exactly the same from what I can see.
Additional context
Screenshot showing a normal call to
LGFX_Base::fillArc
from the SDL2 runtime.I'd use LVGL, but currently this is not an avenue for me due to time constraints and platform issues.
The text was updated successfully, but these errors were encountered: