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
0544946e
Kaydet (Commit)
0544946e
authored
Ock 24, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwFrm::PaintBackground: paint gradient in layout if SvxBrushItem wants it
Change-Id: I72eec18ac6265fd2e0df06eb68115d1d0034be15
üst
2a34dd72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
paintfrm.cxx
sw/source/core/layout/paintfrm.cxx
+4
-2
No files found.
sw/source/core/layout/paintfrm.cxx
Dosyayı görüntüle @
0544946e
...
@@ -2076,7 +2076,7 @@ void DrawGraphic( const SvxBrushItem *pBrush,
...
@@ -2076,7 +2076,7 @@ void DrawGraphic( const SvxBrushItem *pBrush,
/// draw poly-polygon transparent
/// draw poly-polygon transparent
pOutDev
->
DrawTransparent
(
aDrawPoly
,
nTransparencyPercent
);
pOutDev
->
DrawTransparent
(
aDrawPoly
,
nTransparencyPercent
);
}
}
else
else
if
(
!
pBrush
||
pBrush
->
GetFillStyle
()
!=
drawing
::
FillStyle_GRADIENT
)
{
{
SwRegionRects
aRegion
(
rOut
,
4
);
SwRegionRects
aRegion
(
rOut
,
4
);
if
(
!
bGrfIsTransparent
)
if
(
!
bGrfIsTransparent
)
...
@@ -2089,6 +2089,8 @@ void DrawGraphic( const SvxBrushItem *pBrush,
...
@@ -2089,6 +2089,8 @@ void DrawGraphic( const SvxBrushItem *pBrush,
pOutDev
->
DrawRect
(
aRegion
[
i
].
SVRect
()
);
pOutDev
->
DrawRect
(
aRegion
[
i
].
SVRect
()
);
}
}
}
}
else
pOutDev
->
DrawGradient
(
rOut
.
SVRect
(),
pBrush
->
GetGradient
());
pOutDev
->
Pop
();
pOutDev
->
Pop
();
}
}
...
@@ -7065,7 +7067,7 @@ sal_Bool SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
...
@@ -7065,7 +7067,7 @@ sal_Bool SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
if
(
!
rBack
.
GetColor
().
GetTransparency
()
||
if
(
!
rBack
.
GetColor
().
GetTransparency
()
||
rBack
.
GetGraphicPos
()
!=
GPOS_NONE
||
rBack
.
GetGraphicPos
()
!=
GPOS_NONE
||
rpCol
||
rpCol
||
(
bConsiderBackgroundTransparency
&&
(
rBack
.
GetColor
()
!=
COL_TRANSPARENT
))
(
bConsiderBackgroundTransparency
&&
(
rBack
.
GetColor
()
!=
COL_TRANSPARENT
||
rBack
.
GetFillStyle
()
==
drawing
::
FillStyle_GRADIENT
))
)
)
{
{
rpBrush
=
&
rBack
;
rpBrush
=
&
rBack
;
...
...
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