If printing the text into a picture object and then rotating it is acceptable for your project then check out the Rotate function my open source ImagePlay Effects Library. It has a couple different rotation modes, one rotates using RB's rotation method, another using my own rotation code. Personally I think my rotation produces a sharper resultant image than RB's.
http://imageplay.sourceforge.net/ Hope that helps, ~ Tomis On Apr 7, 2006, at 7:49 AM, David van Everdingen wrote: > >Hi, > >I am running Realbasic 5.5. > >I would like to rotate text to some angle such as 60 degrees off >horizontal. I know this can be done using a string shape as follows: > > Dim intX As Integer > Dim intY As Integer > Dim strLabel As String > Dim strshpLabel as new StringShape > > intX=100 > intY=100 > strLabel="Hello" > strshpLabel.Text = strLabel > strshpLabel.Rotation=60*0.01745329 //converts degrees to radians > g.DrawObject strshpLabel,intX,intY > >The text looks fine at 0 deg and 90 deg but the problem is that at any >other angle it looks very fuzzy (both on screen and printer). > >Can this be fixed, if so how? > >David > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
