[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47765] legend text covers the line and marker
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #47765] legend text covers the line and marker. |
Date: |
Sun, 24 Apr 2016 18:03:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #7, bug #47765 (project octave):
@Pantxo: The patch works fine for Qt. Could you also update the selection
routine in __init_fltk__.cc? We don't want this to work for some toolkits and
fail for others.
The relevant routine is in __init_fltk__.cc.
void set_axes_currentpoint (graphics_object ax, int px, int py)
{
if (ax.valid_object () && ax.isa ("axes"))
{
axes::properties& ap =
dynamic_cast<axes::properties&> (ax.get_properties ());
Matrix x_zlim = ap.get_transform_zlim ();
Matrix pos (2, 3, 0.0);
// front point (nearest to the viewer)
ColumnVector tmp = ap.get_transform ().untransform (px, py,
x_zlim(0));
pos(0,0) = tmp(0);
pos(0,1) = tmp(1);
pos(0,2) = tmp(2);
// back point (furthest from the viewer)
tmp = ap.get_transform ().untransform (px, py, x_zlim(1));
pos(1,0) = tmp(0);
pos(1,1) = tmp(1);
pos(1,2) = tmp(2);
ap.set_currentpoint (pos);
fp.set_currentaxes (ap.get___myhandle__ ().value ());
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47765>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Guan, 2016/04/22
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Rik, 2016/04/22
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Guan, 2016/04/22
- Message not available
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Rik, 2016/04/23
- Message not available
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Pantxo Diribarne, 2016/04/24
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker.,
Rik <=
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Pantxo Diribarne, 2016/04/24
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Rik, 2016/04/25
- [Octave-bug-tracker] [bug #47765] legend text covers the line and marker., Pantxo Diribarne, 2016/04/25