One less thing to do in PAINTING_ANALYSIS

This commit is contained in:
Jean-Marc Lasgouttes 2021-10-12 11:33:23 +02:00
parent 572b06d640
commit 2f8ea7ba05

View File

@ -11,7 +11,7 @@ Please keep this file up to date as the code evolves!!!
Abbreviations: Abbreviations:
bv: BufferView bv: BufferView
pm: ParagraphMetrics pm: ParagraphMetrics
tm::TextMetrics tm: TextMetrics
* Questions / Ideas * Questions / Ideas
@ -76,11 +76,6 @@ a lot the amount of stuff to redraw.
It should not be necessary to access the Paragraph object to draw. It should not be necessary to access the Paragraph object to draw.
Adding the static elements to Row is a lot of work, but worth it IMO. Adding the static elements to Row is a lot of work, but worth it IMO.
** Create a unique row by paragraph and break it afterwards
This should be a performance gain (only if paragraph breaking still
shows as expensive after the rest is done)
** do not add the vertical margin of main text to first/last row ** do not add the vertical margin of main text to first/last row
Would make code cleaner. Probably no so difficult. Would make code cleaner. Probably no so difficult.