<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C# 411 &#187; Graphics</title>
	<atom:link href="http://www.csharp411.com/category/graphics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Development</description>
	<lastBuildDate>Sat, 19 Nov 2011 19:34:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Where is PaddingF? And Other Padding Oddities</title>
		<link>http://www.csharp411.com/where-is-paddingf-and-other-padding-oddities/</link>
		<comments>http://www.csharp411.com/where-is-paddingf-and-other-padding-oddities/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 15:41:19 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/where-is-paddingf-and-other-padding-oddities/</guid>
		<description><![CDATA[There is No PaddingF There is Point and PointF, Size and SizeF, Rectangle and RectangleF, Padding and… wait, there is no PaddingF! System.Drawing vs. System.Windows.Forms The 2-D drawing functions in the System.Drawing namespace accept both integer and floating point measurements.&#160; That’s why the main 2-D drawing structures have both int and float versions such as [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/where-is-paddingf-and-other-padding-oddities/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Graphics.MeasureString Exception: Parameter is Invalid</title>
		<link>http://www.csharp411.com/graphics-measurestring-exception-parameter-is-invalid/</link>
		<comments>http://www.csharp411.com/graphics-measurestring-exception-parameter-is-invalid/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 21:34:11 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/graphics-measurestring-exception-parameter-is-invalid/</guid>
		<description><![CDATA[My C# program threw an exception from the following method: SizeF size = Graphics.MeasureString( text, font ); Unfortunately, the exception’s message was rather obscure: “Parameter is invalid.”&#160; After an investigation, I discovered the error occurred because the font had been previously disposed.&#160; Unfortunately, the Font class does not have the typical IsDisposed property, so there [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/graphics-measurestring-exception-parameter-is-invalid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extract Application&#8217;s Own Icon in C#</title>
		<link>http://www.csharp411.com/extract-applications-own-icon-in-c/</link>
		<comments>http://www.csharp411.com/extract-applications-own-icon-in-c/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 12:43:51 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/extract-applications-own-icon-in-c/</guid>
		<description><![CDATA[It&#8217;s easy to extract an application&#8217;s own icon in C#: form.Icon = Icon.ExtractAssociatedIcon( Application.ExecutablePath ); The ExtractAssociatedIcon static method on the Icon class (in System.Drawing) extracts the associated icon from any file.  By supplying the Application.ExecutablePath (in System.Windows.Forms), you extract the application&#8217;s own icon.]]></description>
		<wfw:commentRss>http://www.csharp411.com/extract-applications-own-icon-in-c/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Padding: Like a Rectangle, but Not</title>
		<link>http://www.csharp411.com/padding-like-a-rectangle-but-not/</link>
		<comments>http://www.csharp411.com/padding-like-a-rectangle-but-not/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 22:20:13 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Padding]]></category>
		<category><![CDATA[Rectangle]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/padding-like-a-rectangle-but-not/</guid>
		<description><![CDATA[The .NET 2.0 upgrade included many minor improvements that are easily overlooked. One such improvement is Padding, a handy structure in the System.Windows.Forms namespace that you may find useful for representing offsets, margins or padding in the user interface. Whereas the Rectangle structure has Left/Top/Width/Height as its primary properties, the Padding structure has Left/Top/Right/Bottom. For [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/padding-like-a-rectangle-but-not/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Change Font Style</title>
		<link>http://www.csharp411.com/change-font-style/</link>
		<comments>http://www.csharp411.com/change-font-style/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 13:02:53 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[FontStyle]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-style/</guid>
		<description><![CDATA[Changing a font style is a bit easier than changing its size, as there is a Font constructor that accepts a font and style as arguments. For example, to bold a label&#8217;s font: Label label = new Label(); . . . label.Font = new Font( label.Font, FontStyle.Bold ); If you want to keep the original [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/change-font-style/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Change Font Size</title>
		<link>http://www.csharp411.com/change-font-size/</link>
		<comments>http://www.csharp411.com/change-font-size/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 12:58:39 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Font]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/change-font-size/</guid>
		<description><![CDATA[An inspection of the Font class will reveal that every public property is read-only. This means to change a font&#8217;s size, you need to create a new Font object with all the same properties of your current font but with the new size. Here is a handy method to do just that: static public Font [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/change-font-size/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Lighten and Darken Colors in .NET</title>
		<link>http://www.csharp411.com/lighten-and-darken-colors-in-net/</link>
		<comments>http://www.csharp411.com/lighten-and-darken-colors-in-net/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 16:50:27 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[SystemColors]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/lighten-and-darken-colors-in-net/</guid>
		<description><![CDATA[There is a very handy .NET class called ControlPaint in the System.Windows.Forms namespace that enables you to draw your own controls and control elements using the standard Windows style and theme. Buried in this rich class are four methods that enable you to lighten and darken colors: Dark &#8211; Creates a darker color from the [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/lighten-and-darken-colors-in-net/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>C# GetPixel and SetPixel</title>
		<link>http://www.csharp411.com/c-getpixel-and-setpixel/</link>
		<comments>http://www.csharp411.com/c-getpixel-and-setpixel/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 17:32:49 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[GetPixel]]></category>
		<category><![CDATA[SetPixel]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-getpixel-and-setpixel/</guid>
		<description><![CDATA[It&#8217;s hard to believe the comprehensive .NET framework would omit such obvious functions as GetPixel and SetPixel from its Drawing library. Fortunately, we can access the GDI functions using Interop, as shown below. Notice the conversion required between the COLORREF integer used by the GDI methods and the Color structure used by our static .NET [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-getpixel-and-setpixel/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Embedded Image Resources</title>
		<link>http://www.csharp411.com/embedded-image-resources/</link>
		<comments>http://www.csharp411.com/embedded-image-resources/#comments</comments>
		<pubDate>Tue, 08 May 2007 19:16:45 +0000</pubDate>
		<dc:creator>Timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[Embedded-Resources]]></category>
		<category><![CDATA[Image-Resources]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/embedded-image-resources/</guid>
		<description><![CDATA[If you use images in a .NET application, chances are you will find it more convenient to embed those images as resources in your project, rather than leaving them as separate files and trying to locate and load the images from disk when the application runs. Add Image Resource To add an image to your [...]]]></description>
		<wfw:commentRss>http://www.csharp411.com/embedded-image-resources/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

