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
315d82d7
Kaydet (Commit)
315d82d7
authored
Mar 06, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove nasty xor hack for non-Mac vclcanvas
This nowadays really is a pessimization.
üst
50309b95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
canvashelper_texturefill.cxx
canvas/source/vcl/canvashelper_texturefill.cxx
+0
-52
No files found.
canvas/source/vcl/canvashelper_texturefill.cxx
Dosyayı görüntüle @
315d82d7
...
...
@@ -621,7 +621,6 @@ namespace vclcanvas
}
}
else
#if defined(QUARTZ) // TODO: other ports should avoid the XOR-trick too (implementation vs. interface!)
{
const
Region
aPolyClipRegion
(
rPoly
);
...
...
@@ -651,57 +650,6 @@ namespace vclcanvas
p2ndOutDev
->
Pop
();
}
}
#else // TODO: remove once doing the XOR-trick in the canvas-layer becomes redundant
{
// output gradient the hard way: XORing out the polygon
rOutDev
.
Push
(
PUSH_RASTEROP
);
rOutDev
.
SetRasterOp
(
ROP_XOR
);
doGradientFill
(
rOutDev
,
rValues
,
rColors
,
aTotalTransform
,
aPolygonDeviceRectOrig
,
nStepCount
,
true
);
rOutDev
.
SetFillColor
(
COL_BLACK
);
rOutDev
.
SetRasterOp
(
ROP_0
);
rOutDev
.
DrawPolyPolygon
(
rPoly
);
rOutDev
.
SetRasterOp
(
ROP_XOR
);
doGradientFill
(
rOutDev
,
rValues
,
rColors
,
aTotalTransform
,
aPolygonDeviceRectOrig
,
nStepCount
,
true
);
rOutDev
.
Pop
();
if
(
p2ndOutDev
)
{
p2ndOutDev
->
Push
(
PUSH_RASTEROP
);
p2ndOutDev
->
SetRasterOp
(
ROP_XOR
);
doGradientFill
(
*
p2ndOutDev
,
rValues
,
rColors
,
aTotalTransform
,
aPolygonDeviceRectOrig
,
nStepCount
,
true
);
p2ndOutDev
->
SetFillColor
(
COL_BLACK
);
p2ndOutDev
->
SetRasterOp
(
ROP_0
);
p2ndOutDev
->
DrawPolyPolygon
(
rPoly
);
p2ndOutDev
->
SetRasterOp
(
ROP_XOR
);
doGradientFill
(
*
p2ndOutDev
,
rValues
,
rColors
,
aTotalTransform
,
aPolygonDeviceRectOrig
,
nStepCount
,
true
);
p2ndOutDev
->
Pop
();
}
}
#endif // complex-clipping vs. XOR-trick
#if OSL_DEBUG_LEVEL > 3
// extra-verbosity
...
...
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