Important: The information in this document is obsolete and should not be used for new development.
PixPatChanged
If you modify the content of aPixPat
record (described on page 4-49), including itsPixMap
record or the image in itspatData
field, use thePixPatChanged
procedure.
PROCEDURE PixPatChanged (ppat: PixPatHandle);
ppat
- A handle to the changed pixel pattern.
DESCRIPTION
ThePixPatChanged
procedure sets thepatXValid
field of thePixPat
record specified in theppat
parameter to -1 and notifies QuickDraw of the change.If your application changes the
pmTable
field of a pixel pattern'sPixMap
record, it should callPixPatChanged
. However, if your application changes the content of the color table referenced by thePixMap
record'spmTable
field, it should callPixPatChanged
and theCTabChanged
procedure as well. (TheCTabChanged
procedure is described in the preceding section.)SPECIAL CONSIDERATIONS
ThePixPatChanged
procedure may move or purge memory in the application heap. Your application should not call thePixPatChanged
procedure at interrupt time.Your application should never need to directly modify a
PixPat
record and use thePixPatChanged
procedure; instead, your application should use the QuickDraw routines described in this book for manipulating the values in aPixPat
record.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePixPatChanged
procedure are
Trap macro Selector _QDExtensions $00040008