[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: units updater for figures is broken when using fltk
From: |
Michael Goffioul |
Subject: |
Re: units updater for figures is broken when using fltk |
Date: |
Sun, 12 Feb 2012 19:38:58 +0000 |
On Sun, Feb 12, 2012 at 5:14 PM, Ben Abbott <address@hidden> wrote:
>>>> 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.
>>
>> Michael,
>>
>> To simplify things, the get_boundingbox and set_boudingbox methods for
>> figure objects can be modified to set the origin in the UL corner.
They already do. That's (partially) why they're made for.
>> Do you think this is an appropriate approach?
>>
>> Or, might a 3rd boolean input be added get_boundingbox to allow the origin
>> to be selected as LL or UL ?
Possibly, but I don't see the usefulness at the moment. Any windowing
toolkit I know always uses the UL corner as origin. Only Matlab
doesn't use that reference, god only knows why... ;)
Michael.