I really wish this is fixed :-(
Hard to make convincing publicity for Roassal… I am writing the text using: -=-=-=-=-=-=-=-=-=-=-=-= drawOn: athensCanvas athensCanvas pathTransform restoreAfter: [ "Draw the label centered on the position" athensCanvas pathTransform translateBy: self position asIntegerPoint; rotateByDegrees: angle value; translateBy: ((self notRotatedWidth value / -2) @ (self notRotatedHeight value / 2)) asIntegerPoint; translateBy: (0 @ font descent negated) asIntegerPoint. athensCanvas setFont: font. athensCanvas setPaint: color. athensCanvas drawString: text ]. -=-=-=-=-=-=-=-=-=-=-=-= the font variable is set using the following method: -=-=-=-=-=-=-=-=-=-=-=-= getFontForSize: aNumber ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber -=-=-=-=-=-=-=-=-=-=-=-= Is there something I am missing? Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In “Age of Empires” this was a feature :)
On 18 Jun 2014, at 16:17, Alexandre Bergel <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
Yes, this is really ugly ...
BW, Volkert Am 18.06.2014 16:17, schrieb Alexandre
Bergel:
I really wish this is fixed :-( -- www.nivoba.de "The more complex an object, the larger the investment in learning to use it, and the greater the resistance to abandon it.", NW _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |