Skip to content

fruitsamples/QuickDraw_FX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

7/2003
Updated for Project Builder

Read Me About...Quickdraw FX
date 08/2000

This sample demonstrates a multitude of Quickdraw drawing techniques.

Building the Code (CodeWarrior)
This project was built and tested on CodeWarrior 2.1 using CarbonLib 1.1a3.  Since this is a Carbon app, the "Carbon Support" folder of the CarbonSDK should be in the same folder as the CodeWarrior IDE.  If this is not the case, the CarbonLib library will have to be re-added to the project.  In addition, the CarbonLib extension needs to be in the extension folder.  The CarbonSDK (which contains the library and the extension) can be found on Apple's website:  http://developer.apple.com/sdk/

Restrictions (CodeWarrior)
Nearly every sample requires more memory than the 384KB CodeWarrior sets as the default heap size.  If for some reason the memory has been reset to the default (either through converting the project or whatever) the memory should be reset to 1000 - 2000KB (depending on the application).  This can be achieved by going to the projects settings (Edit Menu->C-PPC Settings... under CodeWarrior 2.1) and selecting the "PPC Target" under the "Target" tab.

Other Code Notes
This sample used to be a "non-Carbon" sample, but has been carbonized for demonstration purposes.  The "old" code has been left in (commented out) in order to compare and contrast the Carbon versus non-Carbon APIs.

Known Bugs
The "Lasso Tool" option is disabled.  This was not working properly as of 07/2000, when this sample was "carbonized," so the option was disabled (even the code for that handler was commented out).

Possible Future Enhancements
Implementing the lasso tool option.

Other Sources of Reference
Additional sample code can be found at:
http://developer.apple.com/samplecode/
in addition, the Carbon API can be found at:
http://developer.apple.com/techpubs/carbon/carbon.html

Version History
See source for version history.

Author
JM - Apple Developer Technical Support - dts@apple.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published