diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-01 18:16:37 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-29 08:09:26 +0100 |
commit | cbc8a424f8e89202b9a2376f57175264bbd83381 (patch) | |
tree | 936cedcab1e04358020b507d45badc0e00bfead4 /chart2 | |
parent | 7352f6b253cec68c4e3b6d3aaecae62db7f19d26 (diff) |
activate the new rendering code
Change-Id: Ie5b8ef035610d5ca26b418ec966d3eaa95966241
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/inc/DummyXShape.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/DummyXShape.cxx | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/chart2/source/view/inc/DummyXShape.hxx b/chart2/source/view/inc/DummyXShape.hxx index 81a52340a5f2..a2faf60836ea 100644 --- a/chart2/source/view/inc/DummyXShape.hxx +++ b/chart2/source/view/inc/DummyXShape.hxx @@ -420,6 +420,8 @@ public: virtual void SAL_CALL setPosition( const ::com::sun::star::awt::Point& aPosition ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setSize( const ::com::sun::star::awt::Size& aSize ) throw(::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException); + virtual void render() SAL_OVERRIDE; + private: GLWindow GLWin; /// Holds the information of our new child window diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index 8d5f8faacbfc..8b0f0d0ed82a 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -1047,6 +1047,13 @@ void DummyChart::setSize( const awt::Size& aSize ) } +void DummyChart::render() +{ + m_GLRender.prepareToRender(); + DummyXShapes::render(); + m_GLRender.renderToBitmap(); +} + } } |