Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Source/Drawing.c
/* |
9-30-92 ¥ Brigham Stevens |
-------------------------- |
The Update Event Handler calls this routine when it |
is time to update a window. |
The window to be updated is passed in, just draw it, or case on window type |
or whatever. |
You don't have to erase first, it has been done for you by the update event handler |
Also, the printing routine will call this too. |
This is not really using a document model architecture. |
*/ |
void DrawImage(GrafPtr graf) |
{ |
PicHandle pict; |
pict = GetPicture(128); |
DrawPicture(pict,&graf->portRect); |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14