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
194c7ff9
Kaydet (Commit)
194c7ff9
authored
Ock 24, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i121534# avoid expensive emulation of 1bit masks for Mac's Quartz
üst
ad6e932b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
graphicprimitivehelper2d.cxx
drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
+5
-1
vclprocessor2d.cxx
drawinglayer/source/processor2d/vclprocessor2d.cxx
+6
-1
No files found.
drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
Dosyayı görüntüle @
194c7ff9
...
@@ -195,7 +195,11 @@ namespace
...
@@ -195,7 +195,11 @@ namespace
// create BitmapEx
// create BitmapEx
Bitmap
aMainBitmap
=
aVirtualDevice
.
GetBitmap
(
Point
(),
aVirtualDevice
.
GetOutputSizePixel
());
Bitmap
aMainBitmap
=
aVirtualDevice
.
GetBitmap
(
Point
(),
aVirtualDevice
.
GetOutputSizePixel
());
Bitmap
aMaskBitmap
=
aVirtualDeviceMask
.
GetBitmap
(
Point
(),
aVirtualDeviceMask
.
GetOutputSizePixel
());
#if defined(MACOSX)
AlphaMask
aMaskBitmap
(
aVirtualDeviceMask
.
GetBitmap
(
Point
(),
aVirtualDeviceMask
.
GetOutputSizePixel
()));
#else
Bitmap
aMaskBitmap
=
aVirtualDeviceMask
.
GetBitmap
(
Point
(),
aVirtualDeviceMask
.
GetOutputSizePixel
());
#endif
aNextStep
.
maBitmapEx
=
BitmapEx
(
aMainBitmap
,
aMaskBitmap
);
aNextStep
.
maBitmapEx
=
BitmapEx
(
aMainBitmap
,
aMaskBitmap
);
// add to vector
// add to vector
...
...
drawinglayer/source/processor2d/vclprocessor2d.cxx
Dosyayı görüntüle @
194c7ff9
...
@@ -438,7 +438,12 @@ namespace drawinglayer
...
@@ -438,7 +438,12 @@ namespace drawinglayer
{
{
// parts will be uncovered, extend aBitmapEx with a mask bitmap
// parts will be uncovered, extend aBitmapEx with a mask bitmap
const
Bitmap
aContent
(
aBitmapEx
.
GetBitmap
());
const
Bitmap
aContent
(
aBitmapEx
.
GetBitmap
());
aBitmapEx
=
BitmapEx
(
aContent
,
Bitmap
(
aContent
.
GetSizePixel
(),
1
));
#if defined(MACOSX)
const
AlphaMask
aMaskBmp
(
aContent
.
GetSizePixel
());
#else
const
Bitmap
aMaskBmp
(
aContent
.
GetSizePixel
(),
1
);
#endif
aBitmapEx
=
BitmapEx
(
aContent
,
aMaskBmp
);
}
}
// draw using OutputDevice'sDrawTransformedBitmapEx
// draw using OutputDevice'sDrawTransformedBitmapEx
...
...
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