Important: The information in this document is obsolete and should not be used for new development.
StdPutPic
TheStdPutPic
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
TheStdPutPic
procedure saves as the definition of the currently open picture the drawing commands stored in the data structure pointed to by thedataPtr
parameter, starting with the first byte and continuing for the next number of bytes as specified in thebyteCount
parameter.SPECIAL CONSIDERATIONS
TheStdPutPic
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.