macroquad icon indicating copy to clipboard operation
macroquad copied to clipboard

Add draw_rectangle_ex function and example for using it

Open vdrn opened this issue 3 years ago • 2 comments

This function merges functionalities of draw_rectangle and draw_rectangle_lines, and adds:

  • rotation with pivot
  • rounded edges
  • horizontal and vertical skewing
  • 4 color gradient fill

PS. also fixed error in docs for draw_texture_ex. Not sure what's the best wording, but pivot is in same coordinate system as x and y args.

vdrn avatar Jul 25 '22 19:07 vdrn

@not-fl3 Hey can you take a look at this PR? Round-cornered rectangles would be nice to have.

musjj avatar Apr 13 '24 12:04 musjj

Oh, sorry for delay! On it!

not-fl3 avatar Apr 17 '24 19:04 not-fl3