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
2a7538ff
Kaydet (Commit)
2a7538ff
authored
Ock 14, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Ock 29, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add more debugging for text rendering
Change-Id: I1cb43c8a02313acf2a48ba91e88534c17f5f86c8
üst
f1de0fb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
OpenGLRender.cxx
chart2/source/view/main/OpenGLRender.cxx
+13
-0
No files found.
chart2/source/view/main/OpenGLRender.cxx
Dosyayı görüntüle @
2a7538ff
...
...
@@ -1475,6 +1475,19 @@ int OpenGLRender::CreateTextTexture(::rtl::OUString textValue, sal_uInt32 color,
int
bmpHeight
=
(
aRect
.
Bottom
()
-
aRect
.
Top
()
+
3
)
&
~
3
;
BitmapEx
aBitmapEx
(
aDevice
.
GetBitmapEx
(
aRect
.
TopLeft
(),
Size
(
bmpWidth
,
bmpHeight
)));
#if DEBUG_PNG // debug PNG writing
static
int
nIdx
=
0
;
OUString
aName
=
OUString
(
"file:///home/moggi/Documents/work/text"
)
+
OUString
::
number
(
nIdx
++
)
+
".png"
;
try
{
vcl
::
PNGWriter
aWriter
(
aBitmapEx
);
SvFileStream
sOutput
(
aName
,
STREAM_WRITE
);
aWriter
.
Write
(
sOutput
);
sOutput
.
Close
();
}
catch
(...)
{
SAL_WARN
(
"slideshow.opengl"
,
"Error writing png to "
<<
aName
);
}
#endif
Bitmap
aBitmap
(
aBitmapEx
.
GetBitmap
());
AlphaMask
aAlpha
(
aBitmapEx
.
GetAlpha
());
boost
::
scoped_array
<
sal_uInt8
>
bitmapBuf
(
new
sal_uInt8
[
4
*
bmpWidth
*
bmpHeight
]);
...
...
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