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

2015-10-04 Thread Abdelrazak Younes
On 03/10/2015 23:46, Jean-Marc Lasgouttes wrote: 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... Sure. I do not

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

2015-10-04 Thread Jean-Marc Lasgouttes
Le 04/10/2015 12:07, Abdelrazak Younes a écrit : And currently something is wrong: http://www.lyx.org/trac/ticket/9756 In this ticket you say pm is buffer dependent, this should not be the case. Paragraphs are Buffer dependent and pms are bv dependent, this is my point. You are right, I

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: 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:

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

2015-10-02 Thread Jean-Marc Lasgouttes
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 starts with questions that I had when writing the

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

2015-10-02 Thread Guillaume Munch
Le 02/10/2015 14:38, Jean-Marc Lasgouttes a écrit : Hello, 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