KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is the easiest way to convert a Rectangle to a RectangleF in .NET? Edit: This sounds trivial and it is, but I was trying to save some typing. The best I could come up with: RectangleF rdest(rsrc.Location, rsrc.Size); // C++/CLI ...or... RectangleF rdest = new RectangleF(rsrc.Location, rsrc.Size) // C#
Tags (comma-separated)
Save Edits
Cancel