New topic: OldRenderer: What happened?
<http://forums.realsoftware.com/viewtopic.php?t=46378> Page 1 of 1 [ 6 posts ] Previous topic | Next topic Author Message kermit Post subject: OldRenderer: What happened?Posted: Sat Dec 29, 2012 11:24 am Joined: Mon May 30, 2011 12:56 am Posts: 578 Im testing Cocoa pretty hard now. One feature I use extensively is the use of a picture to get me points on a line or circle. I create a picture in white. Set OldRenderer to true Then draw a line or an oval or similar in black. Then examine the results pixel by pixel to see where the line or oval was drawn, and use it like a map. My current code says if pixel(x,y).blue = 0 then.... trouble is, in Cocoa, even after I set OldRenderer to TRUE, it is immediately set to false So graphics operations get fuzzy and unsharp. So if pixel(x,y).blue = 0 doesn't work any more. This is a major problem for me: cant I have OldRenderer any longer? I dont want to draw fuzzy lines.. I need exact pixels to make this work. Top DaveS Post subject: Re: OldRenderer: What happened?Posted: Sat Dec 29, 2012 11:31 am Joined: Sun Aug 05, 2007 10:46 am Posts: 4370 Location: San Diego, CA I believe this as been changed to ANTIALIAS and the value is opposite g.UseOlderRenderer=TRUE g.AntiAlias=FALSE _________________ Dave Sisemore MacPro, OSX Lion 10.7.4 RB2012r1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top kermit Post subject: Re: OldRenderer: What happened?Posted: Sat Dec 29, 2012 11:39 am Joined: Mon May 30, 2011 12:56 am Posts: 578 Thank God for Dave. Works! But .. le sigh... Top jranieri Post subject: Re: OldRenderer: What happened?Posted: Sat Dec 29, 2012 11:55 am Real Software Engineer Joined: Fri Jan 28, 2011 5:24 pm Posts: 133 OldRenderer just means "use QuickDraw instead of Quartz". It's only supported in Carbon applications and will be removed once Carbon support is dropped. _________________ Joe Ranieri Mac Frameworks & Compiler REAL Software, Inc. Top kermit Post subject: Re: OldRenderer: What happened?Posted: Sat Dec 29, 2012 12:06 pm Joined: Mon May 30, 2011 12:56 am Posts: 578 But AntiAlias is crossplatform, and works under Quartz and GDI+ and Retina, yes? Top Thom McGrath Post subject: Re: OldRenderer: What happened?Posted: Sat Dec 29, 2012 1:57 pm Site Admin Joined: Tue May 06, 2008 1:07 pm Posts: 1312 Location: Greater Hartford Area, CT kermit wrote:Im testing Cocoa pretty hard now. One feature I use extensively is the use of a picture to get me points on a line or circle. I create a picture in white. Set OldRenderer to true Then draw a line or an oval or similar in black. Then examine the results pixel by pixel to see where the line or oval was drawn, and use it like a map. My current code says if pixel(x,y).blue = 0 then.... trouble is, in Cocoa, even after I set OldRenderer to TRUE, it is immediately set to false So graphics operations get fuzzy and unsharp. So if pixel(x,y).blue = 0 doesn't work any more. This is a major problem for me: cant I have OldRenderer any longer? I dont want to draw fuzzy lines.. I need exact pixels to make this work. Wouldn't it be faster to use math to find a point on circle? _________________ Thom McGrath - @tekcor Web Framework Architect, Real Software, Inc. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 6 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]
