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

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

[Octave-bug-tracker] [bug #35430] fltk figure units = "normalized" shrin


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35430] fltk figure units = "normalized" shrinks plot to 1 pixel
Date: Sat, 04 Feb 2012 23:31:29 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

Follow-up Comment #4, bug #35430 (project octave):

That changeset only works when drawnow() is called. A broader solution is
needed.

Michael Goffioul made the suggestion below,

In __init_fltk__.cc, plot_window::draw() maps figure's position property to
the FLTK window location (which is in pixels). This is only valid when the
figure's units is in pixels [1]. The proper implementation is to use the
figure::properties::get_boundingbox() method to obtain the figure location in
pixels.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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