Point list to renderer class
Posted: Thu May 13, 2004 09:06
Hi,
I have a suggestion. You know that i need to develop shapes different from quad. This feature must be in renderer class.
I think you can add a function to the renderer class that we can give point arrays
When we called this function, and give a point list, It can generate the shape of this points and adds this shape to queue
Am I right? By this function, I (and every user of this system) can make customized shapes easily by making my own functions. For example, if I want a rounded Rectangle, I can create a RoundRect function that returns pointlist.
What do you think about this?
Thanks,
Polat
I have a suggestion. You know that i need to develop shapes different from quad. This feature must be in renderer class.
I think you can add a function to the renderer class that we can give point arrays


Am I right? By this function, I (and every user of this system) can make customized shapes easily by making my own functions. For example, if I want a rounded Rectangle, I can create a RoundRect function that returns pointlist.
What do you think about this?
Thanks,
Polat