[fxruby-users] (no subject)

tim peterson tim_peterson_drafting at hotmail.com
Thu Aug 5 02:11:30 EDT 2010


Hi,

I've been trying to draw rotated text using:


    font = FXFont.new(app, "arial", 16)
    font.setAngle(2880)
    font.create

    dc.setFont(font)

    dc.drawText( 100, 200, "text")

But all I get is unrotated text. Using 
puts font.hints
gives 0

and
puts font.angle
gives 2880

Should I be including more arguments in FXFont.new to make the font rotatable?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100804/c69eeeaa/attachment.html>


More information about the fxruby-users mailing list