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
5cfd4e92
Kaydet (Commit)
5cfd4e92
authored
Tem 16, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce scope
Change-Id: Ifbfd8e4b7a549d0225229a60a12b1b346fc02828
üst
00ae1cec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
canvashelper.cxx
canvas/source/vcl/canvashelper.cxx
+1
-1
No files found.
canvas/source/vcl/canvashelper.cxx
Dosyayı görüntüle @
5cfd4e92
...
...
@@ -483,7 +483,6 @@ namespace vclcanvas
tools
::
OutDevStateKeeper
aStateKeeper
(
mpProtectedOutDev
);
const
int
nTransparency
(
setupOutDevState
(
viewState
,
renderState
,
FILL_COLOR
)
);
const
int
nTransPercent
(
(
nTransparency
*
100
+
128
)
/
255
);
// normal rounding, no truncation here
::
basegfx
::
B2DPolyPolygon
aB2DPolyPoly
(
::
basegfx
::
unotools
::
b2DPolyPolygonFromXPolyPolygon2D
(
xPolyPolygon
));
aB2DPolyPoly
.
setClosed
(
true
);
// ensure closed poly, otherwise VCL does not fill
...
...
@@ -497,6 +496,7 @@ namespace vclcanvas
}
else
{
const
int
nTransPercent
(
(
nTransparency
*
100
+
128
)
/
255
);
// normal rounding, no truncation here
mpOutDev
->
getOutDev
().
DrawTransparent
(
aPolyPoly
,
(
sal_uInt16
)
nTransPercent
);
}
...
...
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