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
1e3e2eb7
Kaydet (Commit)
1e3e2eb7
authored
Kas 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
disentangle ENABLE_CAIRO_CANVAS from other cairo usage
Change-Id: I135c14c90d791959f36dde5dc50687cc09f2a151
üst
be08685b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
svpgdi.cxx
vcl/headless/svpgdi.cxx
+0
-13
No files found.
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
1e3e2eb7
...
...
@@ -33,9 +33,7 @@
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basebmp/scanlineformats.hxx>
#if ENABLE_CAIRO_CANVAS
#include <cairo.h>
#endif
#if OSL_DEBUG_LEVEL > 2
#include <basebmp/debug.hxx>
...
...
@@ -95,8 +93,6 @@ bool SvpSalGraphics::drawTransformedBitmap(
return
false
;
}
#if ENABLE_CAIRO_CANVAS
namespace
{
bool
isCairoCompatible
(
const
basebmp
::
BitmapDeviceSharedPtr
&
rBuffer
)
...
...
@@ -134,13 +130,10 @@ void SvpSalGraphics::clipRegion(cairo_t* cr)
}
}
#endif
bool
SvpSalGraphics
::
drawAlphaRect
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt8
nTransparency
)
{
bool
bRet
=
false
;
(
void
)
nX
;
(
void
)
nY
;
(
void
)
nWidth
;
(
void
)
nHeight
;
(
void
)
nTransparency
;
#if ENABLE_CAIRO_CANVAS
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0)
if
(
m_bUseLineColor
||
!
m_bUseFillColor
)
return
bRet
;
...
...
@@ -194,7 +187,6 @@ bool SvpSalGraphics::drawAlphaRect(long nX, long nY, long nWidth, long nHeight,
extents
.
y
+
extents
.
height
));
}
bRet
=
true
;
#endif
#endif
return
bRet
;
}
...
...
@@ -878,14 +870,9 @@ SystemGraphicsData SvpSalGraphics::GetGraphicsData() const
bool
SvpSalGraphics
::
supportsOperation
(
OutDevSupportType
eType
)
const
{
#if ENABLE_CAIRO_CANVAS
return
m_aDrawMode
!=
basebmp
::
DrawMode
::
XOR
&&
OutDevSupport_TransparentRect
==
eType
&&
isCairoCompatible
(
m_aDevice
);
#else
(
void
)
eType
;
return
false
;
#endif
}
#endif
...
...
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