Index: trunk/doc/design/03_drawing.html =================================================================== --- trunk/doc/design/03_drawing.html (revision 1744) +++ trunk/doc/design/03_drawing.html (revision 1745) @@ -218,10 +218,9 @@
{des3:34} It represents a multiline text block arranged in a bounding box. When x2 and y2 are specified height is not, pen font and text size are only hinted; the renderer may chose a different font and size but has to find the -closest possible match for fitting the bounding box. When height is specified -the (and x2;y2 are not), the lower left corner of the unrotated rendered text is -placed on x1,y1 and text size is chosen for the height property. If neither x2;y2 -nor height are specified, pen font height is used. +closest possible match for fitting the bounding box. When x2;y2 are not +specified, the lower left corner of the unrotated rendered text is +placed on x1,y1 and text size is chosen for the pen font_height property.
{des3:35} text properties @@ -228,8 +227,7 @@ | ||
---|---|---|
property | mandatory | description |
oid | yes | |
x1, y1 | yes | x;y coords of bounding box bottom-left (smaller coords) - |
x2, y2 | no | x;y coords of bounding box top-right (larger coords); height must not be specified - |
height | no | font height in coords; x2 and y2 must not be specified + |
x2, y2 | no | x;y coords of bounding box top-right (larger coords) |
halign | yes | horizontal alignment, per text line: left, center, right, word-justified, justified |
text | yes | string |
stroke | yes | pen used to determine color and font properties |