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
de2dd7a1
Kaydet (Commit)
de2dd7a1
authored
Ock 18, 2011
tarafından
Andre Fischer
Kaydeden (comit)
Thorsten Behrens
Ock 18, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
calc65: #i116318# Fixed the painting of axial gradients.
Signed-off-by:
Thorsten Behrens
<
tbehrens@novell.com
>
üst
e7df509d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
implrenderer.cxx
cppcanvas/source/mtfrenderer/implrenderer.cxx
+15
-2
No files found.
cppcanvas/source/mtfrenderer/implrenderer.cxx
Dosyayı görüntüle @
de2dd7a1
...
@@ -686,10 +686,23 @@ namespace cppcanvas
...
@@ -686,10 +686,23 @@ namespace cppcanvas
case
GRADIENT_AXIAL
:
case
GRADIENT_AXIAL
:
{
{
basegfx
::
tools
::
createLinearODFGradientInfo
(
aGradInfo
,
// Adapt the border so that it is suitable
// for the axial gradient. An axial
// gradient consists of two linear
// gradients. Each of those covers half
// of the total size. In order to
// compensate for the condensed display of
// the linear gradients, we have to
// enlarge the area taken up by the actual
// gradient (1-fBorder). After that we
// have to turn the result back into a
// border value, hence the second (left
// most 1-...
const
double
fAxialBorder
(
1
-
2
*
(
1
-
fBorder
));
basegfx
::
tools
::
createAxialODFGradientInfo
(
aGradInfo
,
aBounds
,
aBounds
,
nSteps
,
nSteps
,
fBorder
,
f
Axial
Border
,
fRotation
);
fRotation
);
// map odf to svg gradient orientation - x
// map odf to svg gradient orientation - x
// instead of y direction
// instead of y direction
...
...
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