Kaydet (Commit) 6418f58b authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: reorganize ImplFontMetric to same layout as ImplFontMetricData

Change-Id: I40b850c7150327b0b7a8b1f081d237e6f5be3f51
üst 058314d2
......@@ -31,25 +31,8 @@ class ImplFontMetric
friend void intrusive_ptr_add_ref(ImplFontMetric* pImplFontMetric);
friend void intrusive_ptr_release(ImplFontMetric* pImplFontMetric);
private:
long mnAscent; // Ascent
long mnDescent; // Descent
long mnIntLeading; // Internal Leading
long mnExtLeading; // External Leading
long mnLineHeight; // Ascent+Descent+EmphasisMark
long mnSlant; // Slant
long mnBulletOffset;// Offset for non-printing character
sal_uInt32 mnRefCount; // Reference Counter
bool mbScalableFont;
bool mbFullstopCentered;
bool mbDevice;
public:
bool operator==( const ImplFontMetric& ) const;
ImplFontMetric();
explicit ImplFontMetric();
long GetAscent() const { return mnAscent; }
long GetDescent() const { return mnDescent; }
......@@ -75,6 +58,22 @@ public:
void SetFullstopCenteredFlag( bool bCentered ) { mbFullstopCentered = bCentered; }
void SetBuiltInFontFlag( bool bIsBuiltInFont ) { mbDevice = bIsBuiltInFont; }
bool operator==( const ImplFontMetric& ) const;
private:
long mnAscent; // Ascent
long mnDescent; // Descent
long mnIntLeading; // Internal Leading
long mnExtLeading; // External Leading
long mnLineHeight; // Ascent+Descent+EmphasisMark
long mnSlant; // Slant
long mnBulletOffset; // Offset for non-printing character
sal_uInt32 mnRefCount; // Reference Counter
bool mbScalableFont;
bool mbFullstopCentered;
bool mbDevice;
};
inline void intrusive_ptr_add_ref(ImplFontMetric* pImplFontMetric)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment