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
5ea1466c
Kaydet (Commit)
5ea1466c
authored
Mar 26, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move two text-related functions to svptext.cxx
Change-Id: I6c45d44fd38d9fde8cad7f712973f11bde51675a
üst
d6a02073
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
30 deletions
+20
-30
svpgdi.cxx
vcl/headless/svpgdi.cxx
+0
-29
svptext.cxx
vcl/headless/svptext.cxx
+20
-1
No files found.
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
5ea1466c
...
...
@@ -358,15 +358,6 @@ void SvpSalGraphics::SetROPFillColor( SalROPColor nROPColor )
}
}
#ifndef IOS
void
SvpSalGraphics
::
SetTextColor
(
SalColor
nSalColor
)
{
m_aTextColor
=
basebmp
::
Color
(
nSalColor
);
}
#endif
void
SvpSalGraphics
::
drawPixel
(
long
nX
,
long
nY
)
{
if
(
m_bUseLineColor
)
...
...
@@ -703,26 +694,6 @@ sal_Bool SvpSalGraphics::drawEPS( long, long, long, long, void*, sal_uLong )
return
sal_False
;
}
#ifndef IOS
SystemFontData
SvpSalGraphics
::
GetSysFontData
(
int
nFallbacklevel
)
const
{
SystemFontData
aSysFontData
;
if
(
nFallbacklevel
>=
MAX_FALLBACK
)
nFallbacklevel
=
MAX_FALLBACK
-
1
;
if
(
nFallbacklevel
<
0
)
nFallbacklevel
=
0
;
aSysFontData
.
nSize
=
sizeof
(
SystemFontData
);
aSysFontData
.
nFontId
=
0
;
aSysFontData
.
nFontFlags
=
0
;
aSysFontData
.
bFakeBold
=
false
;
aSysFontData
.
bFakeItalic
=
false
;
aSysFontData
.
bAntialias
=
true
;
return
aSysFontData
;
}
#endif
SystemGraphicsData
SvpSalGraphics
::
GetGraphicsData
()
const
{
return
SystemGraphicsData
();
...
...
vcl/headless/svptext.cxx
Dosyayı görüntüle @
5ea1466c
...
...
@@ -539,6 +539,25 @@ void SvpSalGraphics::DrawServerFontLayout( const ServerFontLayout& rSalLayout )
}
}
// ===========================================================================
void
SvpSalGraphics
::
SetTextColor
(
SalColor
nSalColor
)
{
m_aTextColor
=
basebmp
::
Color
(
nSalColor
);
}
SystemFontData
SvpSalGraphics
::
GetSysFontData
(
int
nFallbacklevel
)
const
{
SystemFontData
aSysFontData
;
if
(
nFallbacklevel
>=
MAX_FALLBACK
)
nFallbacklevel
=
MAX_FALLBACK
-
1
;
if
(
nFallbacklevel
<
0
)
nFallbacklevel
=
0
;
aSysFontData
.
nSize
=
sizeof
(
SystemFontData
);
aSysFontData
.
nFontId
=
0
;
aSysFontData
.
nFontFlags
=
0
;
aSysFontData
.
bFakeBold
=
false
;
aSysFontData
.
bFakeItalic
=
false
;
aSysFontData
.
bAntialias
=
true
;
return
aSysFontData
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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