Re: Understanding the painting process (André, Abdel, Lars, please read)

2015-10-03 Thread Abdelrazak Younes
On 02/10/2015 15:38, Jean-Marc Lasgouttes wrote: Hello, After a gentle push by Guillaume and a boring meeting, I decided to actually read the code that handles metrics computing and contents drawing. The result is the document below, which is available in development/PAINTING_ANALISYS. It

Re: Size of box insets

2015-10-03 Thread Jean-Marc Lasgouttes
Le 03/10/2015 01:27, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Why not do it in InsetText::Metrics directly? Is it a box-only problem? Hmm, is there another insettext which allows fixing to certain percentage of screen size width? Wrapping float came to my mind but apparently it does

Re: Understanding the painting process (André, Abdel, Lars, please read)

2015-10-03 Thread Jean-Marc Lasgouttes
Le 02/10/2015 21:10, Guillaume Munch a écrit : Please keep this file up to date as the code evolves!!! This file and the warning should be referred to at the beginning of relevant .cpp and .h files IMO. I do not think that people read these headers anyway. In any case, this file is a moving

Re: Understanding the painting process (André, Abdel, Lars, please read)

2015-10-03 Thread Jean-Marc Lasgouttes
Le 03/10/2015 11:50, Abdelrazak Younes a écrit : I propose to get rid of pm::insetDimension. pm is bv dependent; so it should nicely adapt to it containing bv. I would think that bv::cordCache is bv dependent too... I do not understand your point here. And currently something is wrong: