• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Optimized drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Optimized drawing


  • Subject: Optimized drawing
  • From: Neil Earnshaw <email@hidden>
  • Date: Fri, 29 Aug 2003 10:18:34 +0100

Can anyone give me some general tips for optimizing drawing in my app? It has these general characteristics:

- Think CAD/CASE tool
- There is a single view in the drawing window
- The view renders rectangles that have a black border and contain text
- The rects may have their own color setting
- The view renders lines between rects
- The lines may have text drawn along side them
- Users can grab way points on the lines and drag them around (this seems to be the most expensive operation)
- The view is rendering an underlying model/node/path structure
- Drawings may be quite large but there aren't that many rect's/paths in them

Any guidance before I dive into optimization would be greatly appreciated,

-Neil



Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
email@hidden
Tel : 01747 854 852
Mbl : 07870 209 102
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Comparing NSDecimalNumber to NaN?
  • Next by Date: Re: More on text views
  • Previous by thread: Re: Dynamically added text views
  • Next by thread: Drag an NSImageView
  • Index(es):
    • Date
    • Thread