• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Drawing with ActionScript > Optimizing Curve-Drawing Functions

Optimizing Curve-Drawing Functions

If you’re going to be drawing a lot of similar curves, consider optimizing your curve-drawing functions. Two common approaches are

  • Paring down general-purpose methods to eliminate anything that’s not needed for the particular curve that you’re drawing

  • Eliminating calculations by substituting constants


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint