octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44408] xpan and ypan only do not work for FLT


From: Rik
Subject: [Octave-bug-tracker] [bug #44408] xpan and ypan only do not work for FLTK plots
Date: Mon, 02 Mar 2015 16:45:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

URL:
  <http://savannah.gnu.org/bugs/?44408>

                 Summary: xpan and ypan only do not work for FLTK plots
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 02 Mar 2015 08:45:55 AM PST
                Category: Plotting with OpenGL
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Selecting the xpan or ypan only options from the edit menu for an FLTK figure,
or using pan ("xon") or pan ("yon") does not actually do what it says. 
Instead, it just enables general panning.

A quick look suggests the following code in __init_fltk__.cc is suspicious


if (pan_enabled ())
  ap.translate_view ("both", x0, x1, y0, y1);
else if (rotate_enabled ())


Maybe "both" should be only "x" or "y" depending on the setting of the pan
mode?





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44408>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]