I feel like this is missing the width and height, no? It's not like you can't just assign things in C++ (you could actually do it by value :p), but according to the specs, the C# rect also has an origin and a size. Where's the size in your example coming from?


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com