r17492 by craig - Add in margin struct functions

scribus-commit scribus-commit at lists.scribus.net
Fri May 4 13:32:26 UTC 2012


Author: craig
Date: Fri May  4 13:32:26 2012
New Revision: 17492

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17492
Log:
Add in margin struct functions

Modified:
    branches/Version14x/Scribus/scribus/page.h

Modified: branches/Version14x/Scribus/scribus/page.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17492&path=/branches/Version14x/Scribus/scribus/page.h
==============================================================================
--- branches/Version14x/Scribus/scribus/page.h (original)
+++ branches/Version14x/Scribus/scribus/page.h Fri May  4 13:32:26 2012
@@ -61,6 +61,11 @@
 	void setInitialWidth(const double);
 	void setInitialHeight(const double);
 	void copySizingProperties(Page *sourcePage, const MarginStruct& pageMargins);
+	double leftMargin() const { return Margins.Left; }
+	double topMargin() const { return Margins.Top; }
+	double bottomMargin() const { return Margins.Bottom; }
+	double rightMargin() const { return Margins.Right; }
+
 	MarginStruct Margins;
 	MarginStruct initialMargins;
   /** Nummer der Seite */




More information about the scribus-commit mailing list