Commit graph

8 commits

Author SHA1 Message Date
marauder2k7
29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
marauder2k7
0d448ad761 smoothing out results from gui shaders
roundedRectangle and circle drawing now smooth out their results
2024-03-07 09:47:18 +00:00
marauder2k7
c9d70de609 extra draw gui
add the extra functions for drawing gui elements
RoundedRectangle:

All draw rect functions now pass through roundedRectangle which uses a shader and can draw borders, and rounds the corners

Draw thick line:
draws a line thicker than 1 pixel, uses a geometry shader to do this

Draw Circle:
Draws a circle with a border parameter.
2024-03-06 17:27:18 +00:00
AzaezelX
8fa652a327 by request, changed fspin and the new "rotation" for bitmap gui elements to a more generic "angle" to preserve thedistinction between rotating a gui and rotating a 3d object. 2021-11-08 16:07:44 -06:00
AzaezelX
d07d113246 blatantly ganked from T2D; adds rotation as an option for drawbitmap
demonstrates a bit of usage in guibitmapctrl. (do note, gui elements may need followup via altering thier clip rect depending on how folks want to end up using this)
2021-10-25 23:16:41 -05:00
Azaezel
96093bd3ec augmentation to drawArrow to allow one to explicitly define a radius. 2018-03-27 14:57:23 -05:00
Daniel Buckmaster
9a05899d8e Allow drawing 2D squares with 0 rotation angle. 2014-07-10 11:30:56 +02:00
DavidWyand-GG
7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00