Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast line drawing?



From: Trevor Harmon <email@hidden>  
 
 
 


 On Sep 24, 2004, at 11:48 PM, Craig Mattocks wrote: 

>> What does Core Graphics/Quartz use? 

>Nothing, I would hope. That's what graphics cards are for. 
>
>Trevor 
>
>P.S. Why did you post this question on a Java list? 
 
He might of been inspired by the recent, although off-topic there as well, geometry discussion on cocoa-dev. Touching on for one thing NSBezierPath. I myself still have problems keeping track of what is graphics card accelerated and what is not. I thought CG actually was not. To get graphics card hardware acceleration you had to get into OpenGL. One of, the VM implementing it as hw acceleration which it used to for a time? Or through JOGL or GL4Java. Like I said my understanding of this isn't nailed down though so that could be wrong.

I was actually looking at some of this related to the recent Cocoa-dev thread myself. I started looking at Bezier path stuff and got off into line drawing optimizations. Line drawing speed was in actual point in fact a major java grumbling point on this same list. I was going to try out, with java, the Wu algorithm indicated on one page but that is shy some code in the listing. The other post of Craig's corrects this, so thanks. Anyhow, personal edification regarding graphics optimization might be another reason it is on-topic to a java list.

Also there is that java includes J2ME. I was looking at one use of Bresenham's line algorithm as a scanner for a J2ME asteroids game. They haven't got those little nano-bots putting the graphics cards into the PDA's and cell phones yet I guess.

So, without a context, Craig might of been a bit OT but there are contexts where this stuff definitely belongs on a java list.

Mike Hall     mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Fast line drawing? (From: Craig Mattocks <email@hidden>)
 >Re: Fast line drawing? (From: Trevor Harmon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.