Fix problem by storing plot active area matrix in the window - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年10月14日 16:46:09 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年10月15日 00:17:51 +0200
commit5d6496885209bfc7b71c04a0da5d87ed3e081d03 (patch)
tree1bc400408a48c4fe6294516cb68ee8d73d56a0ed /agg-plot/window.cpp
parentfa253d32d9a0c67abad7e1ae852c8d2381c6401d (diff)
downloadgsl-shell-5d6496885209bfc7b71c04a0da5d87ed3e081d03.tar.gz
Fix problem by storing plot active area matrix in the window
Diffstat (limited to 'agg-plot/window.cpp')
-rw-r--r--agg-plot/window.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp
index 4c6de7c5..bb102733 100644
--- a/agg-plot/window.cpp
+++ b/agg-plot/window.cpp
@@ -160,7 +160,7 @@ void window::draw_slot_by_ref(window::ref& ref, bool draw_image)
if (ref.plot)
{
AGG_LOCK();
- ref.plot->draw(*m_canvas, mtx);
+ ref.plot->draw(*m_canvas, mtx, &ref.inf);
AGG_UNLOCK();
}
@@ -240,7 +240,7 @@ window::refresh_slot_by_ref(ref& ref, bool draw_all)
AGG_LOCK();
opt_rect<double> draw_rect;
- ref.plot->draw_queue(*m_canvas, mtx, draw_rect);
+ ref.plot->draw_queue(*m_canvas, mtx, ref.inf, draw_rect);
rect.add<rect_union>(draw_rect);
rect.add<rect_union>(ref.dirty_rect);
ref.dirty_rect = draw_rect;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月12日 23:16:32 +0000

AltStyle によって変換されたページ (->オリジナル) /