im trying to create a rounded rectangle for a usercontrol but the addarc() is not consistent. I found the following link and have been trying to recreate what LarsTech mentions in c#, thus far unsuccessfully. I would appreciate it if someone could give me some pointers on how this could be implemented in c#. Thanks.
Share
If you want to reproduce this:
you need to use unsafe code in C#. Not the easy way if you didn’t do this before, but maybe great to learn (you need it sooner or later). Start with documentation about
Platform Invoke(MSDN). The you can do coding. You can probably find all functions asP/Invokehere: http://www.pinvoke.net/ to save you some typing.P/Invoketutorial: http://msdn.microsoft.com/en-us/library/aa288468%28v=vs.71%29.aspx