Code

Filters. Custom predefined filters update and new ABC filters.
[inkscape.git] / src / sp-rect.h
index 4cf3b24ba07994d03559e3cd5f56251fc72c0284..09d96739b262ed4d6d8e006e55be4c701afc7443 100644 (file)
@@ -1,11 +1,12 @@
-#ifndef __SP_RECT_H__
-#define __SP_RECT_H__
+#ifndef SEEN_SP_RECT_H
+#define SEEN_SP_RECT_H
 
 /*
  * SVG <rect> implementation
  *
  * Authors:
  *   Lauris Kaplinski <lauris@kaplinski.com>
+ *   Abhishek Sharma
  *
  * Copyright (C) 1999-2002 Lauris Kaplinski
  * Copyright (C) 2000-2001 Ximian, Inc.
@@ -15,6 +16,7 @@
 
 #include "svg/svg-length.h"
 #include "sp-shape.h"
+#include <2geom/forward.h>
 
 
 
@@ -54,12 +56,24 @@ void sp_rect_set_visible_rx (SPRect *rect, gdouble rx);
 void sp_rect_set_visible_ry (SPRect *rect, gdouble ry);
 gdouble sp_rect_get_visible_rx (SPRect *rect);
 gdouble sp_rect_get_visible_ry (SPRect *rect);
+Geom::Rect sp_rect_get_rect (SPRect *rect);
 
 void sp_rect_set_visible_width (SPRect *rect, gdouble rx);
 void sp_rect_set_visible_height (SPRect *rect, gdouble ry);
 gdouble sp_rect_get_visible_width (SPRect *rect);
 gdouble sp_rect_get_visible_height (SPRect *rect);
 
-void sp_rect_compensate_rxry (SPRect *rect, NR::Matrix xform);
+void sp_rect_compensate_rxry (SPRect *rect, Geom::Matrix xform);
 
-#endif
+#endif // SEEN_SP_RECT_H
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :