Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > NSOpenGLView or NSCustomView?

NSOpenGLView or NSCustomView?
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: Norfolk, Va
Status: Offline
Reply With Quote
Apr 18, 2003, 04:19 PM
 


Now, I am NOT trying to make any sort of competitor to OmniGraffle. But in my application I am trying to work with data of certain types. It's the presentation of information Im working with, and I think that a 2D directed-graph type layout is best.
Now, how can I best go about designing this programmatically? Should I use openGL or a customView?
Any comments on which is easier to program for, or which is faster? Other concerns?

Essentially what you see above is about the most complicated it needs to get, plus one other thing. The user must be able to select items in the view to edit their text.
you are not your signature
     
Junior Member
Join Date: Oct 2001
Status: Offline
Reply With Quote
Apr 18, 2003, 05:27 PM
 
I would use an NSCustomView. It is easier than setting up OpenGL, without much sacrifice in performance. Unless you are worried terribly about speed, loading your document image into an NSImage and drawing some text on top of it should suffice.

type R
I be that insane n***a from the psycho ward.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:25 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2