[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: units updater for figures is broken when using fltk
From: |
Ben Abbott |
Subject: |
Re: units updater for figures is broken when using fltk |
Date: |
Sat, 11 Feb 2012 21:13:32 -0500 |
On Feb 11, 2012, at 3:27 PM, Michael Goffioul wrote:
> On Sat, Feb 11, 2012 at 4:55 PM, Ben Abbott <address@hidden> wrote:
>>> Did you know about the method function::properties::set_boundingbox?
>>> Along with its get_boundingbox counterpart, those 2 methods are
>>> specifically designed to sync the figure window position between a
>>> graphics toolkit and octave. So in theory, the graphics toolkit never
>>> accesses the figure position directly (because of inverted Y-axis and
>>> 1-based indexing), but does it through get_boundingbox/set_boundinbox
>>> methods.
>>>
>>> Sorry I didn't mention that earlier.
>>>
>>> Michael.
>>
>> I was aware of the set/get boundingbox methods, but initially avoided them
>> because of the LL vs UL reference. I changed my mind when I realized that
>> adding get_boundingbox to the root_figure would be helpful.
>>
>> If there is no objection, I'll push the change later today. First I want to
>> look at the impact on a few other bugs and run the dump demos script.
>
> I don't have an objection, but I find the patch too complicated. The
> FLTK backend should simply use get_boundingbox and set_boundingbox
> functions.
>
> Michael.
Ok. I pushed the change.
http://hg.savannah.gnu.org/hgweb/octave/rev/e7c74f56cd03
Ben
- Re: units updater for figures is broken when using fltk, (continued)
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/04
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/05
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/05
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/10
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/11
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/11
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/11
- Re: units updater for figures is broken when using fltk,
Ben Abbott <=
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/12