~ubuntu-branches/ubuntu/maverick/scribus-ng/maverick-backports

« back to all changes in this revision

Viewing changes to scribus/gtmeasure.h

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2007-08-11 17:41:51 UTC
  • mfrom: (0.1.1 upstream) (4.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20070811174151-tmkgjvjuc0mtk8ul
Tags: 1.3.4.dfsg+svn20071115-1
* Upstream svn update (Closes: #447480, #448949).
* debian/NEWS: Added a note for users wanting stable Scribus to switch to
  the "scribus" package (Closes: #427638).
* debian/watch: Updated the watch regex to properly track sourceforge
  releases for this branch (Closes: #449700).

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
private:
38
38
        gtMeasure();
39
39
        static double ratio;
40
 
        static void   init(Unit u);
 
40
        static void   init(scUnit u);
41
41
        static double convert(double value);
42
42
        static double convert(int value);
43
43
        static double convert2(double value);
44
44
        static double convert2(int value);
45
45
        static double parse(const QString& value);
46
46
public:
47
 
        static double convert(double value, Unit from, Unit to = SC_PT);
48
 
        static double convert(int value, Unit from, Unit to = SC_PT);
49
 
        static double d2d(double value, Unit from, Unit to = SC_PT);
50
 
        static double i2d(int value, Unit from, Unit to = SC_PT);
51
 
        static double qs2d(const QString& value, Unit to = SC_PT);
 
47
        static double convert(double value, scUnit from, scUnit to = SC_PT);
 
48
        static double convert(int value, scUnit from, scUnit to = SC_PT);
 
49
        static double d2d(double value, scUnit from, scUnit to = SC_PT);
 
50
        static double i2d(int value, scUnit from, scUnit to = SC_PT);
 
51
        static double qs2d(const QString& value, scUnit to = SC_PT);
52
52
 
53
53
};
54
54