text scaling

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@168 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-24 16:04:24 +00:00
parent 99867b0c0b
commit 1ab6b0cb82
7 changed files with 49 additions and 52 deletions
+2 -20
View File
@@ -40,29 +40,11 @@ class RealSize {
: width(s.GetWidth()), height(s.GetHeight())
{}
/// Addition of two sizes
/* inline void operator += (const RealSize& s2) {
width += s2.width;
height += s2.height;
}
/// Addition of two sizes
inline RealSize operator + (const RealSize& s2) const {
return RealSize(width + s2.width, height + s2.height);
}
/// Difference of two sizes
inline void operator -= (const RealSize& s2){
width -= s2.width;
height -= s2.height;
}
/// Difference of two sizes
inline RealSize operator - (const RealSize& s2) const {
return RealSize(width - s2.width, height - s2.height);
}
/// Inversion of a size, inverts both components
/// Negation of a size, negates both components
inline RealSize operator - () const {
return RealSize(-width, -height);
}
*/
/// Multiplying a size by a scalar r, multiplies both components
inline void operator *= (double r) {
width *= r;