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
1441ae75
Kaydet (Commit)
1441ae75
authored
Haz 02, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Debugging output in OutputDevice::SetTextFillColor
Change-Id: I78a75a94e4012eded1a4a5b4c36d8b399a4dda6c
üst
4b2d62f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
text.cxx
vcl/source/outdev/text.cxx
+16
-1
No files found.
vcl/source/outdev/text.cxx
Dosyayı görüntüle @
1441ae75
...
@@ -741,8 +741,15 @@ void OutputDevice::SetTextFillColor()
...
@@ -741,8 +741,15 @@ void OutputDevice::SetTextFillColor()
if
(
mpMetaFile
)
if
(
mpMetaFile
)
mpMetaFile
->
AddAction
(
new
MetaTextFillColorAction
(
Color
(),
false
)
);
mpMetaFile
->
AddAction
(
new
MetaTextFillColorAction
(
Color
(),
false
)
);
if
(
maFont
.
GetColor
()
!=
Color
(
COL_TRANSPARENT
)
)
if
(
maFont
.
GetColor
()
!=
Color
(
COL_TRANSPARENT
)
)
{
// FIXME(matteocam)
Color
aColor
=
maFont
.
GetColor
();
if
(
aColor
.
GetRed
()
==
0x66
)
{
fprintf
(
stderr
,
"OutputDevice::SetTextFillColor() changing blue to transparent
\n
"
);
}
// end modified code
maFont
.
SetFillColor
(
Color
(
COL_TRANSPARENT
)
);
maFont
.
SetFillColor
(
Color
(
COL_TRANSPARENT
)
);
}
if
(
!
maFont
.
IsTransparent
()
)
if
(
!
maFont
.
IsTransparent
()
)
maFont
.
SetTransparent
(
true
);
maFont
.
SetTransparent
(
true
);
...
@@ -756,6 +763,14 @@ void OutputDevice::SetTextFillColor( const Color& rColor )
...
@@ -756,6 +763,14 @@ void OutputDevice::SetTextFillColor( const Color& rColor )
Color
aColor
(
rColor
);
Color
aColor
(
rColor
);
bool
bTransFill
=
ImplIsColorTransparent
(
aColor
);
bool
bTransFill
=
ImplIsColorTransparent
(
aColor
);
// FIXME(matteocam)
if
(
rColor
.
GetRed
()
==
0x66
)
{
// component of the blue I use
fprintf
(
stderr
,
"OutputDevice::SetTextFillColor(Color &): called with (%d, %d, %d)
\n
"
,
rColor
.
GetRed
(),
rColor
.
GetBlue
(),
rColor
.
GetGreen
());
}
// end modified code
if
(
!
bTransFill
)
if
(
!
bTransFill
)
{
{
if
(
mnDrawMode
&
(
DRAWMODE_BLACKFILL
|
DRAWMODE_WHITEFILL
|
if
(
mnDrawMode
&
(
DRAWMODE_BLACKFILL
|
DRAWMODE_WHITEFILL
|
...
...
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