Recent Posts
Archives
Categories
Tag Archives: units
Removal of SPUnit and SPMetric
As I have never used GTK+/gtkmm before, I spent a few days reading documentation to familiarize myself with the library, after getting stuck on transitioning parts of the UI to Inkscape::Util::Unit. With a better understanding of how the UI worked, … Continue reading
Refactoring Progress
Based on suggestions on inkscape-devel, I took a look at Boost Units. At first it looked promising, but then I decided it’s more trouble than it’s worth as it’s aimed at compile time dimensional analysis, and Inkscape only deals with … Continue reading
Length Class and Refactoring
Since my last update, I have implemented a Length class. This allows one to store a length with its unit as well as to perform unit conversions. These conversions include functions similar to those found in helper/units.cpp where a length, … Continue reading
Current State of Units
Inkscape’s main unit handling code is in helper/units.cpp and util/units.cpp. The code in helper is originally from libgnomeprint, and the code in util is the start of a rewrite; I plan on moving everything to util. In addition, there is … Continue reading
Google Summer of Code 2013: Inkscape Units
I was accepted into Google Summer of Code 2013 and will be working with the Inkscape project. My project involves two phases: first refactoring Inkscape’s existing unit handling support into one place, then extending said unit support to properly support … Continue reading