<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=CoordinateSystems</id>
	<title>CoordinateSystems - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=CoordinateSystems"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=CoordinateSystems&amp;action=history"/>
	<updated>2026-04-30T22:56:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=CoordinateSystems&amp;diff=432&amp;oldid=prev</id>
		<title>Conversion script: link fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=CoordinateSystems&amp;diff=432&amp;oldid=prev"/>
		<updated>2006-01-22T02:32:49Z</updated>

		<summary type="html">&lt;p&gt;link fix&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Coordinate systems mentioned in the code or elsewhere:&lt;br /&gt;
&lt;br /&gt;
* Desktop&lt;br /&gt;
* World&lt;br /&gt;
* Root&lt;br /&gt;
* Document: used for the contents of the document ie the SPObjects and whotnot.  Each item in the SVG tree can have a transform, and the SPRoot appears to have yet another transform that can be applied (SPRoot::c2p).&lt;br /&gt;
&lt;br /&gt;
Abbreviations used for coordinate systems:&lt;br /&gt;
&lt;br /&gt;
* d&lt;br /&gt;
* dt --- usually seems to mean `desktop'&lt;br /&gt;
* doc&lt;br /&gt;
* w --- I think this means `world'.  GTK's view of things; used to pass in click positions etc.??&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
Desktop has:&lt;br /&gt;
* SPDesktop::_w2d.  Only set in SPDesktop::set_display_area().  This seems to be called to set the viewport, and is set to be a scale of (1/newscale, 1/-newscale).  Widely used by event handlers to convert from mouse click coordinates (from [[GdkEventButton]] etc.) into desktop coordinates, so I think w2d in this context means &amp;quot;world to desktop&amp;quot; where world is basically GDK's view of things.&lt;br /&gt;
* SPDesktop::_d2w.  Only set in the same place as _w2d.  Set to (newscale, -newscale), ie the inverse of _w2d.&lt;br /&gt;
* SPDesktop::_doc2dt.  Initialised to a scale of (1, -1).  After that only _doc2dt[5] is touched, ie the y translation.  This is set to the height of the drawing whenever it changes.&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
</feed>