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
2f866000
Kaydet (Commit)
2f866000
authored
May 27, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Transparency with DrawTransparent in addition to DrawRect
Change-Id: I9e8221652b74a3004857ef4b12c6b45563a373b5
üst
6ec2a1a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
text.cxx
vcl/source/outdev/text.cxx
+4
-1
No files found.
vcl/source/outdev/text.cxx
Dosyayı görüntüle @
2f866000
...
@@ -149,11 +149,14 @@ void OutputDevice::ImplDrawTextRect( long nBaseX, long nBaseY,
...
@@ -149,11 +149,14 @@ void OutputDevice::ImplDrawTextRect( long nBaseX, long nBaseY,
nX
+=
nBaseX
;
nX
+=
nBaseX
;
nY
+=
nBaseY
;
nY
+=
nBaseY
;
//mpGraphics->DrawRect( nX, nY, nWidth, nHeight, this ); // original code
mpGraphics
->
DrawRect
(
nX
,
nY
,
nWidth
,
nHeight
,
this
);
// original code
Rectangle
aRect
(
Point
(
nX
,
nY
),
Size
(
nWidth
+
1
,
nHeight
+
1
)
);
Rectangle
aRect
(
Point
(
nX
,
nY
),
Size
(
nWidth
+
1
,
nHeight
+
1
)
);
Polygon
aPoly
(
aRect
);
Polygon
aPoly
(
aRect
);
PolyPolygon
aPolyPoly
(
aPoly
);
PolyPolygon
aPolyPoly
(
aPoly
);
DrawTransparent
(
aPolyPoly
,
50
);
DrawTransparent
(
aPolyPoly
,
50
);
// Code above is wrong: it just messes up.
}
}
...
...
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