|
|
This adds fl_rrect and fl_rrectf (note the additional r ) so the user can draw rounded rectangles. This uses existing and optimised code that is rearranged.
As mentioned in issue #262, we already implemented drawing code for rounded rectangles, but we did not have an API to access the code besides via box types. I also optimised to code to ignore drawing matrices, do a faster lookup, and avoid searching the graphics driver multiple times.
You can view, comment on, or merge this pull request online at:
https://github.com/fltk/fltk/pull/553
Commit Summary
- e00da67 Refactor code to make rounded rectangles accessible
File Changes (4 files)
Patch Links:
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/553@github.com>
[ Direct Link to Message ] | |
|
| |