Tommaso Cucinotta wrote:
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to,
All inset and paragraph coords are absolute WRT the screen. (0,0) is the
top left corner.
and why I always see in the code
* Position of a paragraph is the baseline of its first row.
* position()-ascent() is the where the paragraph drawing effectively start.
* position()+descent() is the where the paragraph drawing effectively end.
Hope this helps. Feel free to synthesize all these information and write
some documentation ;-)