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
8d64acdf
Kaydet (Commit)
8d64acdf
authored
Nis 26, 2013
tarafından
Muthu Subramanian
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#60638: Workaround should be in FillRects rather than FillPolygon.
Ported from:
5a1d7732
üst
1ffe3891
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
emfplus.cxx
cppcanvas/source/mtfrenderer/emfplus.cxx
+7
-5
No files found.
cppcanvas/source/mtfrenderer/emfplus.cxx
Dosyayı görüntüle @
8d64acdf
...
...
@@ -893,10 +893,6 @@ namespace cppcanvas
EMFP_DEBUG
(
printf
(
"EMF+
\t\t
color fill:0x%X
\n
"
,
brushIndexOrColor
));
rState
.
isFillColorSet
=
true
;
rState
.
isLineColorSet
=
false
;
// n#812793: EMF+ Seems to specify transparent background with Alpha=0xFF !
// Workaround for the problem.
if
(
brushIndexOrColor
==
0xFFFFFFFF
)
brushIndexOrColor
=
0xFFFFFF
;
SET_FILL_COLOR
(
brushIndexOrColor
);
...
...
@@ -1370,6 +1366,7 @@ namespace cppcanvas
sal_uInt32
brushIndexOrColor
;
sal_Int32
rectangles
;
bool
isColor
=
(
flags
&
0x8000
);
::
basegfx
::
B2DPolygon
polygon
;
rMF
>>
brushIndexOrColor
>>
rectangles
;
...
...
@@ -1405,7 +1402,12 @@ namespace cppcanvas
::
basegfx
::
B2DPolyPolygon
polyPolygon
(
polygon
);
EMFPPlusFillPolygon
(
polyPolygon
,
rFactoryParms
,
rState
,
rCanvas
,
flags
&
0x8000
,
brushIndexOrColor
);
// n#812793: EMF+ Seems to specify transparent background with Alpha=0xFF !
// Workaround for the problem.
if
(
isColor
&&
brushIndexOrColor
==
0xFFFFFFFF
&&
rectangles
==
1
)
brushIndexOrColor
=
0xFFFFFF
;
EMFPPlusFillPolygon
(
polyPolygon
,
rFactoryParms
,
rState
,
rCanvas
,
isColor
,
brushIndexOrColor
);
}
break
;
}
...
...
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