<?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>MicroStation Tips &#187; metafiles</title>
	<atom:link href="http://microstationtips.com/tag/metafiles/feed/" rel="self" type="application/rss+xml" />
	<link>http://microstationtips.com</link>
	<description>Time-saving MicroStation Tips and Tricks</description>
	<lastBuildDate>Mon, 14 May 2012 14:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Is there a way to edit Windows Metafiles?</title>
		<link>http://microstationtips.com/181/</link>
		<comments>http://microstationtips.com/181/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 18:19:02 +0000</pubDate>
		<dc:creator>MicroStation User</dc:creator>
				<category><![CDATA[Metafile Tips]]></category>
		<category><![CDATA[MicroStation Tips]]></category>
		<category><![CDATA[Frank Mullins]]></category>
		<category><![CDATA[metafiles]]></category>

		<guid isPermaLink="false">http://microstationtips.com/?p=181</guid>
		<description><![CDATA[Frank Mullins There are many ways to edit them, but I don&#8217;t know if there are BEST ways to do it. One way is using a photo editing application like PaintShop Pro or Adobe Photoshop. One way is following the Microsoft instructions ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/metafile_0hmb.asp): Editing an Enhanced Metafile To edit a picture stored in an [...]]]></description>
			<content:encoded><![CDATA[<p class="body"><span class="bodyHeader2">Frank Mullins</span></p>
<p class="body">There are many ways to edit them, but I don&#8217;t know if there are BEST ways to do it.</p>
<p class="body">One way is using a photo editing application like PaintShop Pro or Adobe Photoshop.</p>
<p class="body">One way is following the Microsoft instructions  			  (<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/metafile_0hmb.asp" target="new"> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/metafile_0hmb.asp</a>):</p>
<p class="body"><span class="bodyHeader2">Editing an Enhanced Metafile</span><br />
To edit a picture stored in an enhanced metafile, an application must perform the tasks described in the following procedure.</p>
<p class="body">To edit a picture stored in an enhanced metafile</p>
<ul>
<li>
<p class="BodyBulltes">Use hit-testing to capture the cursor coordinates and retrieve the position of the object (line, arc, rectangle, ellipse, polygon, or irregular shape) that the user wants to alter.</p>
</li>
<li>
<p class="BodyBulltes">Convert these coordinates to logical (or world) units.</p>
</li>
<li>
<p class="BodyBulltes">Call the EnumEnhMetaFile function and examine each metafile record.</p>
</li>
<li>
<p class="BodyBulltes">Determine whether a given record corresponds to a GDI drawing function.</p>
</li>
<li>
<p class="BodyBulltes">If it does, determine whether the coordinates stored in the record correspond to the line, arc, ellipse, or other graphics element that intersects the coordinates specified by the user.</p>
</li>
<li>
<p class="BodyBulltes">Upon finding the record that corresponds to the output that the user wants to alter, erase the object on the screen that corresponds to the original record.</p>
</li>
<li>
<p class="BodyBulltes">Delete the corresponding record from the metafile, saving a pointer to its location.</p>
</li>
<li>
<p class="BodyBulltes">Permit the user to redraw or replace the object.</p>
</li>
<li>
<p class="BodyBulltes">Convert the GDI functions used to draw the new object into one or more enhanced-metafile records.</p>
</li>
<li>
<p class="BodyBulltes">Store these records in the enhanced metafile.</p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://microstationtips.com/181/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

