New topic: 

Drawstring Question

<http://forums.realsoftware.com/viewtopic.php?t=47771>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        mikecotrone          Post subject: Drawstring QuestionPosted: 
Thu May 02, 2013 8:10 pm                         
Joined: Tue Mar 05, 2013 2:33 pm
Posts: 47
Location: North Carolina                How would I enable g.drawstring to 
write from right to left?

Thanks!      
_________________
Mike Cotrone - CCIE #8411 R&S, CCIE #8411 Voice
Chief Technology Officer 
Onepath Systems, LLC

Real Studio 2012 R2.1 Enterprise, Mac OS, Windows, Ubuntu Linux  
                             Top                DaveS          Post subject: 
Re: Drawstring QuestionPosted: Thu May 02, 2013 8:50 pm                         
        
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4823
Location: San Diego, CA                create a picture object.. use drawstring 
to write to IT

Then using the RGBSURFACE property of your main graphic, and your temp picture
write the pixels from one to the other in reverse order...  Reverse X give a 
Mirror Image, Reverse Y flips it vertically      
_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                mikecotrone          Post 
subject: Re: Drawstring QuestionPosted: Thu May 02, 2013 9:17 pm                
         
Joined: Tue Mar 05, 2013 2:33 pm
Posts: 47
Location: North Carolina                DaveS wrote:create a picture object.. 
use drawstring to write to IT

Then using the RGBSURFACE property of your main graphic, and your temp picture
write the pixels from one to the other in reverse order...  Reverse X give a 
Mirror Image, Reverse Y flips it vertically

Dave you are like a coder version of MacGyver!! Thanks!     
_________________
Mike Cotrone - CCIE #8411 R&S, CCIE #8411 Voice
Chief Technology Officer 
Onepath Systems, LLC

Real Studio 2012 R2.1 Enterprise, Mac OS, Windows, Ubuntu Linux  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to