summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d459cfd)
raw | patch | inline | side by side (parent: d459cfd)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 17 Jul 2008 21:35:48 +0000 (21:35 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Thu, 17 Jul 2008 21:35:48 +0000 (21:35 +0000) |
src/libnr/nr-point.h | patch | blob | history |
diff --git a/src/libnr/nr-point.h b/src/libnr/nr-point.h
index c0810bda13498c43da8c3320b15d2ad79b6156ea..ff9b5a4542f96fa05b9058e28d1e713d4c523c2b 100644 (file)
--- a/src/libnr/nr-point.h
+++ b/src/libnr/nr-point.h
return Geom::Point(_pt[X], _pt[Y]);
}
+ inline operator Geom::Point() const { return Geom::Point(_pt[X], _pt[Y]); }
+
private:
Coord _pt[2];
};