Code

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