Skip to content

quadrant support on fillSmoothRoundRect #2333

Discussion options

You must be logged in to vote

That quadrant support capability is not fully tested yet and some tweaks are needed for corner cases, but setting the inner radius to 1 and the height to 2* radius should work with the existing function. Example:

tft.drawSmoothRoundRect(x, y, radius, 1, w, 2*radius, TFT_WHITE, TFT_BLACK, 0x3);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alex-code
Comment options

Answer selected by alex-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment