Here is a pretty good link that shows all of the different results using the different method from the Rectangle class such as Union, Intersection, Inflate, etc.:
http://www.java2s.com/Tutorial/VB/0300__2D-Graphics/CreateRectangleFromSizeAndPoint.htm
This blog is a depository for things I have found regarding VB.NET and C#.NET development (and other things I may need to remember). This blog is primarily for my own reference, but if the information I found is useful to others, then that is great. If others want to contribute with comments or other information, then that is great too.
Showing posts with label Rectangle. Show all posts
Showing posts with label Rectangle. Show all posts
Wednesday, March 31, 2010
Tuesday, May 5, 2009
Scaling one Rectangle to fit in Another Rectangle
Here is a great posting that shows several approaches to scaling one rectangle to fit inside of another:
http://www.vbdotnetforums.com/graphics-gdi/33829-scale-rectangle-fit-another.html
http://www.vbdotnetforums.com/graphics-gdi/33829-scale-rectangle-fit-another.html
Subscribe to:
Posts (Atom)