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
37021dfb
Kaydet (Commit)
37021dfb
authored
Mar 02, 2014
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#72448 fix gradient color/transparency pos. in SVG export
Change-Id: If65ffb9ac71eda95d8b5c4b35fd5828795b0469a
üst
bbd51100
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
svgwriter.cxx
filter/source/svg/svgwriter.cxx
+3
-10
svgwriter.hxx
filter/source/svg/svgwriter.hxx
+1
-2
No files found.
filter/source/svg/svgwriter.cxx
Dosyayı görüntüle @
37021dfb
...
...
@@ -2083,23 +2083,16 @@ void SVGActionWriter::ImplWritePattern( const PolyPolygon& rPolyPoly,
}
void
SVGActionWriter
::
ImplWriteGradientEx
(
const
PolyPolygon
&
rPolyPoly
,
const
Gradient
&
rGradient
,
sal_uInt32
nWriteFlags
,
sal_Bool
bApplyMapping
)
sal_uInt32
nWriteFlags
)
{
PolyPolygon
aPolyPoly
;
if
(
bApplyMapping
)
ImplMap
(
rPolyPoly
,
aPolyPoly
);
else
aPolyPoly
=
rPolyPoly
;
if
(
rGradient
.
GetStyle
()
==
GradientStyle_LINEAR
||
rGradient
.
GetStyle
()
==
GradientStyle_AXIAL
)
{
ImplWriteGradientLinear
(
a
PolyPoly
,
rGradient
);
ImplWriteGradientLinear
(
r
PolyPoly
,
rGradient
);
}
else
{
ImplWritePattern
(
a
PolyPoly
,
NULL
,
&
rGradient
,
nWriteFlags
);
ImplWritePattern
(
r
PolyPoly
,
NULL
,
&
rGradient
,
nWriteFlags
);
}
}
...
...
filter/source/svg/svgwriter.hxx
Dosyayı görüntüle @
37021dfb
...
...
@@ -360,8 +360,7 @@ private:
void
ImplWritePolyPolygon
(
const
PolyPolygon
&
rPolyPoly
,
sal_Bool
bLineOnly
,
sal_Bool
bApplyMapping
=
sal_True
);
void
ImplWriteShape
(
const
SVGShapeDescriptor
&
rShape
,
sal_Bool
bApplyMapping
=
sal_True
);
void
ImplWriteGradientEx
(
const
PolyPolygon
&
rPolyPoly
,
const
Gradient
&
rGradient
,
sal_uInt32
nWriteFlags
,
sal_Bool
bApplyMapping
=
sal_True
);
void
ImplWriteGradientEx
(
const
PolyPolygon
&
rPolyPoly
,
const
Gradient
&
rGradient
,
sal_uInt32
nWriteFlags
);
void
ImplWriteGradientLinear
(
const
PolyPolygon
&
rPolyPoly
,
const
Gradient
&
rGradient
);
void
ImplWriteGradientStop
(
const
Color
&
rColor
,
double
fOffset
);
Color
ImplGetColorWithIntensity
(
const
Color
&
rColor
,
sal_uInt16
nIntensity
);
...
...
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