<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Walt Ritscher: Grappling with Graphics</title><link>http://waltritscher.com/blog/grappling/</link><description>Exploring Windows Graphics - GDI+, Avalon, and more</description><managingEditor>Walt Ritscher</managingEditor><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Walt Ritscher</dc:creator><title>Visio - Creating MSDN Style Diagrams</title><link>http://waltritscher.com/blog/grappling/archive/2005/02/22/291.aspx</link><pubDate>Tue, 22 Feb 2005 23:00:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2005/02/22/291.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/291.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2005/02/22/291.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/291.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/291.aspx</trackback:ping><description>&lt;P&gt;Sometimes it's easy to forget how powerful Visio is.  If all you ever create with with Visio is flowcharts and UML diagrams you may not know about many of its graphics tools.&lt;/P&gt;&lt;IMG src="http://mailan.members.winisp.net/images/msdn3.gif"&gt; 
&lt;P&gt;Mai-lan (Lead Program Manager, Visio) has many blog posts about Visio, including developing with the SDK and generating MDSN style diagrams &lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;She's gotten multiple requests from blog readers to show how to get the same visual quality as seen in architectural diagrams posted on MSDN articles&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Links&lt;BR&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://blogs.msdn.com/mailant/archive/2004/11/21/267773.aspx"&gt;http://blogs.msdn.com/mailant/archive/2004/11/21/267773.aspx&lt;/A&gt; 
&lt;LI&gt;&lt;A href="http://blogs.msdn.com/mailant/archive/2004/12/05/275239.aspx"&gt;http://blogs.msdn.com/mailant/archive/2004/12/05/275239.aspx&lt;/A&gt; 
&lt;LI&gt;&lt;A href="http://blogs.msdn.com/mailant/archive/2005/01/07/348911.aspx"&gt;http://blogs.msdn.com/mailant/archive/2005/01/07/348911.aspx&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/291.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Learning to Draw Isometric Pixel Art.</title><link>http://waltritscher.com/blog/grappling/archive/2005/01/27/272.aspx</link><pubDate>Thu, 27 Jan 2005 15:43:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2005/01/27/272.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/272.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2005/01/27/272.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/272.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/272.aspx</trackback:ping><description>&lt;P&gt;Interested in drawing pictures in a cartoon-like fashion?&amp;nbsp;&amp;nbsp; Here is a detailed tutorial that will show you how.&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;EM&gt;From &lt;A href="http://rhysd.syntesis.org/tutorial/"&gt;http://rhysd.syntesis.org/tutorial/&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;EM&gt;Isometric Pixel Art (IPA) is a modern form of digital art that only recently has been accepted as a new art form. I&amp;#8217;m sure most of us have seen this typical type of artwork in old games such as &amp;#8216;X-Com&amp;#8217; or the relatively old &amp;#8216;Ultima Online&amp;#8217;. The 2-Dimensional (2D) representation of a 3-Dimensional (3D) object is fascinating to many people. This is possibly because of the simplicity and amount of small details that can fit into a single IPA piece. It doesn&amp;#8217;t need that much brain power to figure out, yet it is pleasing to the eye. IPA can be compared to cartoons in many ways, as people like to look (watch) and accept the 2D art form as it is very simplistic and easy to follow.&lt;/EM&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;IMG src="http://rhysd.syntesis.org/tutorial/club_large.gif"&gt;&lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/272.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Superb Avalon blog - More about the 3d engine in Longhorn</title><link>http://waltritscher.com/blog/grappling/archive/2005/01/19/264.aspx</link><pubDate>Wed, 19 Jan 2005 16:47:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2005/01/19/264.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/264.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2005/01/19/264.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/264.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/264.aspx</trackback:ping><description>&lt;P&gt;&lt;A href="http://blogs.msdn.com/danlehen/"&gt;http://blogs.msdn.com/danlehen/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is boatload of great content here on Dan's blog.&amp;nbsp; He has spent a lot of time explaining the way the 3d engine works in Avalon.&lt;/P&gt;
&lt;P&gt;If you haven't heard of Avalon, it's the new graphics engine for the next generation of Windows.&lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/264.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Gloodling Away the Day</title><link>http://waltritscher.com/blog/grappling/archive/2005/01/11/252.aspx</link><pubDate>Tue, 11 Jan 2005 13:23:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2005/01/11/252.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/252.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2005/01/11/252.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/252.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/252.aspx</trackback:ping><description>&lt;P&gt;What a fun little program!&amp;nbsp; [&lt;A href="http://www.wondertouch.com/gloodle/gloodle.asp"&gt;Gloodle&lt;/A&gt;]&lt;/P&gt;
&lt;P&gt;Drawing with globs is very captivating.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;IMG src="http://www.wondertouch.com/gloodle/images/big/big02.jpg"&gt; 
&lt;P&gt;&lt;A href="http://www.wondertouch.com/"&gt;Wondertouch&lt;/A&gt;, the company that produces Gloodle, also makes the impressive ParticleIllusion software.&amp;nbsp; ParticleIllusion is used to generate smoke, fire, particle streams, fog, rain and snow.&amp;nbsp; &lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/252.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Paint.NET Final Release is Ready</title><link>http://waltritscher.com/blog/grappling/archive/2004/12/20/235.aspx</link><pubDate>Mon, 20 Dec 2004 09:23:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/12/20/235.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/235.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/12/20/235.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/235.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/235.aspx</trackback:ping><description>&lt;P&gt;At last the final release of &lt;A href="http://www.eecs.wsu.edu/paint.net/"&gt;Paint.NET&lt;/A&gt; is available for download.&amp;nbsp; See &lt;A href="http://waltritscher.com/blog/grappling/archive/2004/10/25/220.aspx"&gt;this article&lt;/A&gt; for more info.&lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/235.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Raster based Paint.NET - showcasing C# and GDI+</title><link>http://waltritscher.com/blog/grappling/archive/2004/10/25/220.aspx</link><pubDate>Mon, 25 Oct 2004 11:55:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/10/25/220.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/220.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/10/25/220.aspx#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/220.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/220.aspx</trackback:ping><description>&lt;P&gt;I'm surprised&amp;nbsp; I haven't heard about something like Paint.NET before today.&amp;nbsp; The GDI+ tools in the framework have received plenty of coverage during the last couple of years.&amp;nbsp; Seems likely that someone, somewhere would create a replacement for the aging paint program.&amp;nbsp; I've know other developers that have been snooping around the GDI+ namespace, In fact last summer I was teaching a VB.NET&amp;nbsp; class (for a bunch of Microsoft employees) and one student, who had a graduate degree in imaging technology, wrote some great photo filters using VB.NET and the System.Drawing namespaces.&amp;nbsp; I'd give him credit here but I can't find his website&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.eecs.wsu.edu/paint.net/"&gt;Paint.NET&lt;/A&gt; was written in C# and shows off what you can do with a GDI+ application.&amp;nbsp; It is a nice photo editing tool and has many interesting features including support for plug-ins.&amp;nbsp; Best of all you can download the source code and see how it was put together.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;IMG src="http://www.eecs.wsu.edu/paint.net/screenshots/layerswork.jpg"&gt; 
&lt;P&gt;I've seen most of the tools used in this program demonstrated elsewhere.&amp;nbsp; For example the color picker control in Paint.NET looks remarkably similar to the one written by &lt;A href="http://msdn.microsoft.com/msdnmag/issues/03/07/GDIColorPicker/"&gt;Ken Getz for this MSDN article&lt;/A&gt;.&amp;nbsp; But Paint.NET has them all wrapped up in a single package.&amp;nbsp; &lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/220.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Expression:: Free Vector Graphics Tool - From Microsoft</title><link>http://waltritscher.com/blog/grappling/archive/2004/08/05/197.aspx</link><pubDate>Thu, 05 Aug 2004 17:27:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/08/05/197.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/197.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/08/05/197.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/197.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/197.aspx</trackback:ping><description>&lt;P&gt;Today I discovered that Microsoft has a wonderful vector-based tool available.&amp;nbsp; Apparently &lt;A href="http://www.microsoft.com/products/expression/"&gt;Microsoft Expression&lt;/A&gt;&amp;nbsp;was picked up last year from another company and quietly added to the Microsoft website.&amp;nbsp; Frankly, I can't see why they're not promoting it more.&amp;nbsp; It looks like a very useful tool&amp;nbsp; - similar to Adobe Illustrator or Macromedia's Freehand -&amp;nbsp;it exports to Flash format - and create nice graphics. &lt;/P&gt;
&lt;P&gt;Added it to my toolbox today!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/products/expression/default.asp?pg=gl"&gt;Sample drawings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.microsoft.com/products/expression/img/safari/elephant.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;IMG src="http://www.microsoft.com/products/expression/img/safari/gorilla.jpg"&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/197.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>A pixel is not a little square!</title><link>http://waltritscher.com/blog/grappling/archive/2004/07/11/180.aspx</link><pubDate>Sun, 11 Jul 2004 13:26:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/07/11/180.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/180.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/07/11/180.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/180.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/180.aspx</trackback:ping><description>&lt;P&gt;Study computer graphics for even a short time and you'll discover acronyms, technical terms and concepts that don't&amp;nbsp;appear in the average business programers daily vocabulary.&amp;nbsp; Where can you find information about color theory, animation sprites, pixels, video card&amp;nbsp;specifications and other graphics related technology?&lt;/P&gt;
&lt;P&gt;I thought I would start&amp;nbsp;sharing&amp;nbsp;some of the resources that I run across in my&amp;nbsp;weekly travels.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://alvyray.com/"&gt;Dr Alvy Ray Smith&lt;/A&gt; has been a participant in&amp;nbsp;&lt;A href="http://alvyray.com/Bio/default.htm"&gt;many of the&lt;/A&gt; interesting companies working with computer graphics.&amp;nbsp;&amp;nbsp; He co-founded Pixar and was director of research at Lucas Film so one can rightly assume that he knows a thing or two about graphics.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;He has a &lt;A href="http://alvyray.com/Papers/PapersCG.htm"&gt;number&lt;/A&gt; of &lt;A href="http://alvyray.com/Memos/MemosMicrosoft.htm"&gt;published&lt;/A&gt; articles on his web site that any budding graphics developer should read.&amp;nbsp; Start with his "&lt;A href="ftp://ftp.alvyray.com/acrobat/6_pixel.pdf"&gt;a pixel is not a little square&lt;/A&gt;" article.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/180.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>Creating a normalized rectangle</title><link>http://waltritscher.com/blog/grappling/archive/2004/03/09/147.aspx</link><pubDate>Tue, 09 Mar 2004 14:04:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/03/09/147.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/147.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/03/09/147.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/147.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/147.aspx</trackback:ping><description>&lt;P&gt;I was looking through some sample code that I will be demonstrating next week at the Software Developer Expo in Santa Clara. (&lt;A href="http://www.sdexpo.com/"&gt;http://www.sdexpo.com&lt;/A&gt;) As is often the case while reading through older code I noticed a section that needed refactoring.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Creating a selection rectangle, or lasso, on screen is simple enough.&amp;nbsp; Drawing a rectangle over of the control or image that is under the mouse is usually sufficient.&amp;nbsp; The only issues are determining how to draw the rectangle regardless of what direction your user decides to drag the mouse.&amp;nbsp; There are four possible directions to drag:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Upper Left &lt;/STRONG&gt;to &lt;STRONG&gt;Lower Right&lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Upper Right&lt;/STRONG&gt; to &lt;STRONG&gt;Lower Left&lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Lower Left&lt;/STRONG&gt; to &lt;STRONG&gt;Upper Right&lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Lower Right&lt;/STRONG&gt; to &lt;STRONG&gt;Upper Left&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I decided to use the &lt;A href="http://www.refactoring.com/catalog/extractMethod.html"&gt;Extract Method&lt;/A&gt;&amp;nbsp; pattern and created the &lt;STRONG&gt;NormalizedRect&lt;/STRONG&gt; function.&lt;/P&gt;
&lt;P&gt;
&lt;HR id=null&gt;

&lt;P&gt;&lt;/P&gt;&lt;DIV class=code&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; NormalizeRect(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; startingPoint &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Point, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; endingPoint &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; Point) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; Rectangle&lt;/FONT&gt; &lt;/P&gt;

&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face="Courier New"&gt;' purpose: Define a rectangle given a starting point and ending point.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face="Courier New"&gt;' moving left to right, right to left, top to bottom or bottom to top should not matter&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; topLeftPoint, bottomRightPoint &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; Point&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; tempRect &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; Rectangle&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;topLeftPoint.X = Math.Min(startingPoint.X, endingPoint.X)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;topLeftPoint.Y = Math.Min(startingPoint.Y, endingPoint.Y)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;bottomRightPoint.X = Math.Max(startingPoint.X, endingPoint.X)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;bottomRightPoint.Y = Math.Max(startingPoint.Y, endingPoint.Y)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;tempRect.Location = topLeftPoint&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;tempRect.Width = bottomRightPoint.X - topLeftPoint.X&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;tempRect.Height = bottomRightPoint.Y - topLeftPoint.Y&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;Return&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt; tempRect&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/147.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Walt Ritscher</dc:creator><title>A little history</title><link>http://waltritscher.com/blog/grappling/archive/2004/03/07/146.aspx</link><pubDate>Sun, 07 Mar 2004 18:55:00 GMT</pubDate><guid>http://waltritscher.com/blog/grappling/archive/2004/03/07/146.aspx</guid><wfw:comment>http://waltritscher.com/blog/grappling/comments/146.aspx</wfw:comment><comments>http://waltritscher.com/blog/grappling/archive/2004/03/07/146.aspx#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://waltritscher.com/blog/grappling/comments/commentRss/146.aspx</wfw:commentRss><trackback:ping>http://waltritscher.com/blog/grappling/services/trackbacks/146.aspx</trackback:ping><description>&lt;P&gt;While I have held many programming jobs - database applications, component building, web applications - I have always harbored an interest in computer graphics.&amp;nbsp; I can remember spending hours, actually more like days, learning to move a &lt;STRONG&gt;&lt;FONT color=#ff0000&gt;red&lt;/FONT&gt;&lt;/STRONG&gt; dot in an elliptical path on an old Apple II.&amp;nbsp; My friends and family thought I was nuts spending so much time on what appeared to them a pointless task.&amp;nbsp; But to me it was a fascinating undertaking.&lt;/P&gt;
&lt;P&gt;Nowadays the choices for &lt;FONT color=#006400&gt;&lt;STRONG&gt;graphics&lt;/STRONG&gt; &lt;/FONT&gt;&lt;FONT color=#006400&gt;&lt;STRONG&gt;programming&lt;/STRONG&gt;&lt;/FONT&gt; are mind boggling. Windows has a variety of graphics engines to choose from.&amp;nbsp; There are platforms such as Macromedia Flash, and new standards like SVG (Scalable Vector Graphics).&amp;nbsp; Not to mention the emerging technologies from Microsoft (XAML, Avalon)&amp;nbsp;scheduled to be included in the next version of Windows codenamed &lt;EM&gt;Longhorn&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;I have been using GDI+ a lot on my latest project.&amp;nbsp; My intention is to use this blogspace to discuss the pitfalls and benefits of using the many different graphics engines available to the Windows developer&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First up...&amp;nbsp;GDI+ and .NET.&lt;/P&gt;&lt;img src ="http://waltritscher.com/blog/grappling/aggbug/146.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>