Hi, Just as part of easing into pyglet and opengl, I am wondering if anyone can explain the following line of code:
https://github.com/pyglet/pyglet/blob/5bc0f80e0446bc4ebb2b381370802f60320c0d8a/pyglet/shapes.py#L1178 Where it seems like 2 of the 4 corners of the rectangle repeat on the array. I just wanted to experiment making a rectangle shape with rounded corners by using bezier curves on the corners and would be happy to learn why opengl is being sent 6 points here. Also in case you have any thoughts or suggestions about sizing such a rectangle to wrap around text such that adjusting the edges of the box to fully contain the text glyphs (or sizing the glyphs to match the size of the box can be accomplished). This is towards making text areas nicely surrounded by a shape. The current button implementation under `gui` seems to use an image instead. Thanks! -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/3c91b9a1-71fa-4e50-b714-fa8f21a51208n%40googlegroups.com.