rectangular shape with rounded corners

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
how can I create a solid rectangular shape with rounded corners?
I can not with ImageLibEx.
There is a way to do?
Thanks
 

micro

Well-Known Member
Licensed User
Longtime User
Thanks klaus
but I can not understand, can you show me an example?
Best regards
 

micro

Well-Known Member
Licensed User
Longtime User
Four DrawArc, Four DrawLine and how to fill it?
Can you please give me an example?
you know better the ImageLibEx library.....it is your library :(

Thanks
 

agraham

Expert
Licensed User
Longtime User
I'm afraid that I don't have the time to work on an example at the moment but it really shouldn't be difficult to do it yourself. Given the four corner positions of a rectangle and a radius it is simple arithmetic to work out the start and stop positions of the four arcs, draw them and then draw lines between them using the same positions.
 
Top