Re: [fltk.development] RFC: Measuring text for X11 16-bitcoordinate clipping

2012-05-08 Thread Albrecht Schlosser
Am On 08.05.2012 14:38, schrieb MacArthur, Ian (SELEX GALILEO, UK) wrote: > >> Question: How "expensive" would measuring the text before doing >> the real output in X11 be? > > I do not know. > It is likely that the correct answer will be "That depends" I guess. > > If the code is running on a loca

Re: [fltk.development] RFC: Measuring text for X11 16-bitcoordinate clipping

2012-05-08 Thread Greg Ercolano
On 05/08/12 05:38, MacArthur, Ian (SELEX GALILEO, UK) wrote: >> Second question: What function should be used: fl_measure() or >> fl_text_extents()? Would there be a performance difference to be >> expected, or would it only be the small difference in the exact >> layout? The latter could IMHO be i

Re: [fltk.development] RFC: Measuring text for X11 16-bit coordinate clipping

2012-05-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Question: How "expensive" would measuring the text before doing > the real output in X11 be? I do not know. It is likely that the correct answer will be "That depends" I guess. If the code is running on a local server, the round-trip will be a lot quicker than a transaction over the network..

[fltk.development] RFC: Measuring text for X11 16-bit coordinate clipping

2012-05-08 Thread Albrecht Schlosser
Question: How "expensive" would measuring the text before doing the real output in X11 be? Reasoning: In STR #2798 [1] there's a proposal to clip text before drawing in X11, because of the problem with 16-bit coordinates in X11 vs. 32-bit coordinates in FLTK. The proposed patch [2] is incomplete (