<?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>refactoring &#8211; Matthew Petroff</title>
	<atom:link href="https://mpetroff.net/tag/refactoring/feed/" rel="self" type="application/rss+xml" />
	<link>https://mpetroff.net</link>
	<description>mpetroff.net</description>
	<lastBuildDate>Wed, 26 Nov 2014 20:35:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Refactoring Progress</title>
		<link>https://mpetroff.net/2013/07/refactoring-progress/</link>
					<comments>https://mpetroff.net/2013/07/refactoring-progress/#respond</comments>
		
		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Sun, 07 Jul 2013 15:17:09 +0000</pubDate>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Google Summer of Code]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[units]]></category>
		<guid isPermaLink="false">http://www.mpetroff.net/?p=1027</guid>

					<description><![CDATA[Based on suggestions on inkscape-devel, I took a look at Boost Units. At first it looked promising, but then I decided it&#8217;s more trouble than it&#8217;s worth as it&#8217;s aimed at compile time dimensional analysis, and Inkscape only deals with &#8230; <a href="https://mpetroff.net/2013/07/refactoring-progress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><span class="dropcap">B</span>ased on suggestions on <code>inkscape-devel</code>, I took a look at Boost Units. At first it looked promising, but then I decided it&#8217;s more trouble than it&#8217;s worth as it&#8217;s aimed at compile time dimensional analysis, and Inkscape only deals with distance anyway. However, I did use Boost Units&#8217; naming scheme of calling a measurement with its unit a &#8220;quantity&#8221; instead of a &#8220;length,&#8221; as Inkscape also uses angles, not just lengths.</p>
<p>In addition, I began porting the code base away from <code>helper/units.cpp</code>. In the process, I fixed a bug that appears to have been there for years; the CSE paper size didn&#8217;t have units displayed next to it in the page size selector dialog. There were <code>if</code> statements checking if each paper size unit was millimeters, inches, or pixels and adding the units on. As CSE paper is Inkscape&#8217;s only paper size defined in points, its units weren&#8217;t displayed as there wasn&#8217;t a specific check for points. Now the page size selector just displays the unit&#8217;s abbreviation, no individual checks required.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mpetroff.net/2013/07/refactoring-progress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn0.mpetroff.net
Minified using Disk

Served from: mpetroff.net @ 2026-03-29 23:35:54 by W3 Total Cache
-->