via Therion
Sent: Monday, 24 September 2018 21:16
To: therion@speleo.sk
Cc: Marco Corvi
Subject: [Therion] boxed label
hi bruce,
this is a boxed u:label
basically it gets the string as picture,
its bounding box corners, and define the x and y to draw the box,
then draw the string picture
Marco,
you are right. But the discussion is that Missouri mappers use number in box as
point height. So by my meaning correct way should be to define new symbol set
which will generate point height in sguare label.
User definition is temporary solution in this case.
Martin S.
> 24. 9. 2018
hi bruce,
this is a boxed u:label
basically it gets the string as picture,
its bounding box corners, and define the x and y to draw the box,
then draw the string picture
point 10 20 u:label -attr val 20
def p_u_label ( expr p,r,s,t ) =
picture pic;
pic := thelabel( ATTR_val, (0,0)) scaled