fix_mv
This commit is contained in:
parent
3a00c0c9d7
commit
26212825dd
|
@ -287,6 +287,8 @@ namespace CairoChart {
|
|||
if (xmax + d.x > px1) d.x = px1 - xmax;
|
||||
if (zrect.y < plarea.y) d.y = plarea.y - ymin;
|
||||
if (ymax + d.y > py1) d.y = py1 - ymax;
|
||||
zrect.x = xmin + d.x;
|
||||
zrect.y = ymin + d.y;
|
||||
zrect.width = xmax - xmin;
|
||||
zrect.height = ymax - ymin;
|
||||
|
||||
|
|
Loading…
Reference in New Issue