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
997654c2
Kaydet (Commit)
997654c2
authored
Mar 10, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make SvpSalGraphics::getBitmap more readable
Change-Id: I4eb896813d6cec49bf5f1c8ac2ee8fafc06fbf52
üst
662f88b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
svpgdi.cxx
vcl/headless/svpgdi.cxx
+9
-6
No files found.
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
997654c2
...
...
@@ -651,18 +651,21 @@ void SvpSalGraphics::drawMask( const SalTwoRect& rPosAry,
SalBitmap
*
SvpSalGraphics
::
getBitmap
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
)
{
basebmp
::
BitmapDeviceSharedPtr
aCopy
;
SvpSalBitmap
*
pBitmap
=
new
SvpSalBitmap
();
if
(
m_aDevice
)
{
basebmp
::
BitmapDeviceSharedPtr
aCopy
;
aCopy
=
cloneBitmapDevice
(
basegfx
::
B2IVector
(
nWidth
,
nHeight
),
m_aDevice
);
basegfx
::
B2IBox
aSrcRect
(
nX
,
nY
,
nX
+
nWidth
,
nY
+
nHeight
);
basegfx
::
B2IBox
aDestRect
(
0
,
0
,
nWidth
,
nHeight
);
basegfx
::
B2IBox
aSrcRect
(
nX
,
nY
,
nX
+
nWidth
,
nY
+
nHeight
);
basegfx
::
B2IBox
aDestRect
(
0
,
0
,
nWidth
,
nHeight
);
if
(
aCopy
)
aCopy
->
drawBitmap
(
m_aOrigDevice
,
aSrcRect
,
aDestRect
,
basebmp
::
DrawMode_PAINT
);
SvpSalBitmap
*
pBitmap
=
new
SvpSalBitmap
();
pBitmap
->
setBitmap
(
aCopy
);
pBitmap
->
setBitmap
(
aCopy
);
}
return
pBitmap
;
}
...
...
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