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
66d02a56
Kaydet (Commit)
66d02a56
authored
May 07, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
set the size to context and renderer before rendering
Change-Id: I2945a7b8647d0a40270b1e65cde2a0eb936ab1d1
üst
62b71e9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
GL3DBarChart.cxx
chart2/source/view/charttypes/GL3DBarChart.cxx
+3
-0
GL3DRenderer.hxx
chart2/source/view/inc/GL3DRenderer.hxx
+2
-2
No files found.
chart2/source/view/charttypes/GL3DBarChart.cxx
Dosyayı görüntüle @
66d02a56
...
@@ -67,6 +67,9 @@ void GL3DBarChart::create3DShapes()
...
@@ -67,6 +67,9 @@ void GL3DBarChart::create3DShapes()
void
GL3DBarChart
::
render
()
void
GL3DBarChart
::
render
()
{
{
mrWindow
.
getContext
()
->
makeCurrent
();
mrWindow
.
getContext
()
->
makeCurrent
();
Size
aSize
=
mrWindow
.
GetSizePixel
();
mpRenderer
->
SetSize
(
aSize
);
mrWindow
.
getContext
()
->
setWinSize
(
aSize
);
for
(
boost
::
ptr_vector
<
opengl3D
::
Renderable3DObject
>::
iterator
itr
=
maShapes
.
begin
(),
for
(
boost
::
ptr_vector
<
opengl3D
::
Renderable3DObject
>::
iterator
itr
=
maShapes
.
begin
(),
itrEnd
=
maShapes
.
end
();
itr
!=
itrEnd
;
++
itr
)
itrEnd
=
maShapes
.
end
();
itr
!=
itrEnd
;
++
itr
)
{
{
...
...
chart2/source/view/inc/GL3DRenderer.hxx
Dosyayı görüntüle @
66d02a56
...
@@ -249,9 +249,9 @@ private:
...
@@ -249,9 +249,9 @@ private:
double m_dFreq;
double m_dFreq;
#endif
#endif
int
m_iWidth
;
sal_Int32
m_iWidth
;
int
m_iHeight
;
sal_Int32
m_iHeight
;
float
m_fZmax
;
float
m_fZmax
;
...
...
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