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
c8431b7f
Kaydet (Commit)
c8431b7f
authored
Kas 02, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Kas 10, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused code and const-ify some methods
Change-Id: I4c8da0cdf39f31ec757e87687dcec79a4ac83681
üst
2e4b89bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
47 deletions
+8
-47
salgdi.h
vcl/inc/win/salgdi.h
+4
-5
salgdi.cxx
vcl/win/source/gdi/salgdi.cxx
+4
-42
No files found.
vcl/inc/win/salgdi.h
Dosyayı görüntüle @
c8431b7f
...
...
@@ -194,14 +194,13 @@ public:
HFONT
ImplDoSetFont
(
FontSelectPattern
*
i_pFont
,
float
&
o_rFontScale
,
HFONT
&
o_rOldFont
);
public
:
explicit
WinSalGraphics
();
explicit
WinSalGraphics
(
WinSalGraphics
::
Type
eType
,
bool
bScreen
);
virtual
~
WinSalGraphics
();
bool
isPrinter
();
bool
isVirtualDevice
();
bool
isWindow
();
bool
isScreen
();
bool
isPrinter
()
const
;
bool
isVirtualDevice
()
const
;
bool
isWindow
()
const
;
bool
isScreen
()
const
;
protected
:
virtual
bool
setClipRegion
(
const
vcl
::
Region
&
);
...
...
vcl/win/source/gdi/salgdi.cxx
Dosyayı görüntüle @
c8431b7f
...
...
@@ -554,44 +554,6 @@ void ImplClearHDCCache( SalData* pData )
}
}
WinSalGraphics
::
WinSalGraphics
()
:
mpImpl
(
new
WinSalGraphicsImpl
(
*
this
)),
mhLocalDC
(
0
),
mbPrinter
(
false
),
mbVirDev
(
false
),
mbWindow
(
false
),
mbScreen
(
false
),
mfCurrentFontScale
(
1.0
),
mhRegion
(
0
),
mhDefPen
(
0
),
mhDefBrush
(
0
),
mhDefFont
(
0
),
mhDefPal
(
0
),
mpStdClipRgnData
(
NULL
),
mpLogFont
(
NULL
),
mpFontCharSets
(
NULL
),
mpFontAttrCache
(
NULL
),
mnFontCharSetCount
(
0
),
mpFontKernPairs
(
NULL
),
mnFontKernPairCount
(
0
),
mbFontKernInit
(
false
),
mnPenWidth
(
GSL_PEN_WIDTH
)
{
for
(
int
i
=
0
;
i
<
MAX_FALLBACK
;
++
i
)
{
mhFonts
[
i
]
=
0
;
mpWinFontData
[
i
]
=
NULL
;
mpWinFontEntry
[
i
]
=
NULL
;
mfFontScale
[
i
]
=
1.0
;
}
static
const
char
*
pEnv
=
getenv
(
"USE_OPENGL"
);
if
(
pEnv
)
{
mpImpl
.
reset
(
new
OpenGLSalGraphicsImpl
());
}
}
WinSalGraphics
::
WinSalGraphics
(
WinSalGraphics
::
Type
eType
,
bool
bScreen
)
:
mpImpl
(
new
WinSalGraphicsImpl
(
*
this
)),
mhLocalDC
(
0
),
...
...
@@ -651,22 +613,22 @@ WinSalGraphics::~WinSalGraphics()
delete
mpFontKernPairs
;
}
bool
WinSalGraphics
::
isPrinter
()
bool
WinSalGraphics
::
isPrinter
()
const
{
return
mbPrinter
;
}
bool
WinSalGraphics
::
isVirtualDevice
()
bool
WinSalGraphics
::
isVirtualDevice
()
const
{
return
mbVirDev
;
}
bool
WinSalGraphics
::
isWindow
()
bool
WinSalGraphics
::
isWindow
()
const
{
return
mbWindow
;
}
bool
WinSalGraphics
::
isScreen
()
bool
WinSalGraphics
::
isScreen
()
const
{
return
mbScreen
;
}
...
...
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