Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6418f58b
Kaydet (Commit)
6418f58b
authored
Ock 14, 2016
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: reorganize ImplFontMetric to same layout as ImplFontMetricData
Change-Id: I40b850c7150327b0b7a8b1f081d237e6f5be3f51
üst
058314d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
impfontmetric.hxx
vcl/inc/impfontmetric.hxx
+17
-18
No files found.
vcl/inc/impfontmetric.hxx
Dosyayı görüntüle @
6418f58b
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment