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
55add3e2
Kaydet (Commit)
55add3e2
authored
Ock 13, 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
let us be a bit more conservative and deal with floating point correctly
Change-Id: I22e21c1550982458f1a2c464a8b82e1d71e0525d
üst
f04ad946
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OpenGLRender.cxx
chart2/source/view/main/OpenGLRender.cxx
+1
-1
No files found.
chart2/source/view/main/OpenGLRender.cxx
Dosyayı görüntüle @
55add3e2
...
...
@@ -1521,7 +1521,7 @@ int OpenGLRender::CreateTextTexture(::rtl::OUString textValue, sal_uInt32 color,
m_TextInfo
.
vertex
[
7
]
=
(
float
)(
aSize
.
Height
/
2
)
/
OPENGL_SCALE_VALUE
;
//if has ratotion, we must re caculate the central pos
if
(
rotation
)
if
(
!
rtl
::
math
::
approxEqual
(
0
,
rotation
)
)
{
//use left top
double
r
=
sqrt
((
double
)(
aSize
.
Width
*
aSize
.
Width
+
aSize
.
Height
*
aSize
.
Height
))
/
2
;
...
...
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