04-29-2022, 10:29 PM
(04-29-2022, 10:09 PM)bplus Wrote: Ha! Great minds think alike! I posted similar, in fact, this post had me go back and check if mine did width and height of rounded button / frame, it did but I posted older code for the demo which had to be replaced. We did approach the building of the shape differently.
https://staging.qb64phoenix.com/showthre...18#pid1218
I spotted yours just before I posted mine and almost didn't post mine. But different enough so posted it.
I had a devil of a time getting the rounded rectangles to work until I realized it was safer and easier to draw from a defined top left corner and then build out with width and height that way x2 is always right of x1 and y2 is always down from y1.