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
828b1176
Kaydet (Commit)
828b1176
authored
Ock 12, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
route other drawBitmap through cairo
Change-Id: I18336a7b0479c9a57f0951daadac4dfed422e5c4
üst
13b98794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
svpgdi.cxx
vcl/headless/svpgdi.cxx
+4
-16
No files found.
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
828b1176
...
...
@@ -1126,7 +1126,7 @@ void SvpSalGraphics::copyBits( const SalTwoRect& rTR,
cairo_surface_t
*
source
=
SvpSalGraphics
::
createCairoSurface
(
pSrc
->
m_aOrigDevice
);
if
(
!
source
)
{
SAL_WARN
(
"vcl.gdi"
,
"unsupported SvpSalGraphics::
drawBitmap
case"
);
SAL_WARN
(
"vcl.gdi"
,
"unsupported SvpSalGraphics::
copyBits
case"
);
return
;
}
...
...
@@ -1168,23 +1168,11 @@ void SvpSalGraphics::drawBitmap(const SalTwoRect& rTR, const SalBitmap& rSourceB
copySource
(
rTR
,
source
);
}
void
SvpSalGraphics
::
drawBitmap
(
const
SalTwoRect
&
r
PosAry
,
const
SalBitmap
&
rS
al
Bitmap
,
void
SvpSalGraphics
::
drawBitmap
(
const
SalTwoRect
&
r
TR
,
const
SalBitmap
&
rS
ource
Bitmap
,
const
SalBitmap
&
rTransparentBitmap
)
{
const
SvpSalBitmap
&
rSrc
=
static_cast
<
const
SvpSalBitmap
&>
(
rSalBitmap
);
const
SvpSalBitmap
&
rSrcTrans
=
static_cast
<
const
SvpSalBitmap
&>
(
rTransparentBitmap
);
basegfx
::
B2IBox
aSrcRect
(
rPosAry
.
mnSrcX
,
rPosAry
.
mnSrcY
,
rPosAry
.
mnSrcX
+
rPosAry
.
mnSrcWidth
,
rPosAry
.
mnSrcY
+
rPosAry
.
mnSrcHeight
);
basegfx
::
B2IBox
aDestRect
(
rPosAry
.
mnDestX
,
rPosAry
.
mnDestY
,
rPosAry
.
mnDestX
+
rPosAry
.
mnDestWidth
,
rPosAry
.
mnDestY
+
rPosAry
.
mnDestHeight
);
SvpSalGraphics
::
ClipUndoHandle
aUndo
(
this
);
if
(
!
isClippedSetup
(
aDestRect
,
aUndo
)
&&
m_aDevice
)
m_aDevice
->
drawMaskedBitmap
(
rSrc
.
getBitmap
(),
rSrcTrans
.
getBitmap
(),
aSrcRect
,
aDestRect
,
basebmp
::
DrawMode
::
Paint
,
m_aClipMap
);
dbgOut
(
m_aDevice
);
drawAlphaBitmap
(
rTR
,
rSourceBitmap
,
rTransparentBitmap
);
}
void
SvpSalGraphics
::
drawMask
(
const
SalTwoRect
&
rPosAry
,
...
...
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