Code

fix pasting style after copying a text span
[inkscape.git] / src / desktop-affine.h
index a5e84d5c7bd9956af818d82daa8c95bbc1673ae8..dda4e90ee3f9a466c0859617f538024a4831f397 100644 (file)
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
-#include "forward.h"
-#include <2geom/forward.h>
+#include "desktop.h"
 
-Geom::Matrix const sp_desktop_root2dt_affine(SPDesktop const *dt);
-Geom::Matrix const sp_desktop_dt2root_affine(SPDesktop const *dt);
-
-Geom::Point sp_desktop_root2dt_xy_point(SPDesktop const *dt, const Geom::Point p);
-Geom::Point sp_desktop_dt2root_xy_point(SPDesktop const *dt, const Geom::Point p);
+#define sp_desktop_dt2doc_affine(desktop)          desktop->dt2doc()
+#define sp_desktop_dt2doc_xy_point(desktop,point)  desktop->dt2doc(point)
 
 #endif