[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 11:55:31 -0500 |
On Feb 11, 2012, at 5:24 AM, Michael Goffioul wrote:
> On Sat, Feb 11, 2012 at 1:04 AM, Ben Abbott <address@hidden> wrote:
>
>> I've attached a changeset that works for me on the defualt branch with tip
>> below. I've avoided triggering listeners. However, I'm very inexperienced in
>> c++ ... so a quick look over would be appreciated.
>>
>> $ hg tip
>> changeset: 14357:c097c22e9294
>> tag: tip
>> user: Ben Abbott <address@hidden>
>> date: Fri Feb 10 18:57:55 2012 -0500
>> summary: print.m: Restore figure properties in reverse of the order of
>> modification.
>
> 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.
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/04
- 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 <=
- 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, Ben Abbott, 2012/02/12