Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Customizing QuickDraw Operations


StdPutPic

The StdPutPic procedure is QuickDraw's standard low-level routine for saving information as the definition of a picture.

PROCEDURE StdPutPic (dataPtr:\xDDPtr; byteCount:\xDDInteger);
dataPtr
A pointer to the collected picture data.
byteCount
The size of the picture data.
DESCRIPTION
The StdPutPic procedure saves as the definition of the currently open picture the drawing commands stored in the data structure pointed to by the dataPtr parameter, starting with the first byte and continuing for the next number of bytes as specified in the byteCount parameter.

SPECIAL CONSIDERATIONS
The StdPutPic procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.

SEE ALSO
Pictures are described in the chapter "Pictures," which also provides a code sample illustrating how you can supply your application with its own low-level procedure for saving pictures.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996