Important: The information in this document is obsolete and should not be used for new development.
PixPatChanged
If you modify the content of aPixPatrecord (described on page 4-49), including itsPixMaprecord or the image in itspatDatafield, use thePixPatChangedprocedure.
PROCEDURE PixPatChanged (ppat: PixPatHandle);
ppat- A handle to the changed pixel pattern.
DESCRIPTION
ThePixPatChangedprocedure sets thepatXValidfield of thePixPatrecord specified in theppatparameter to -1 and notifies QuickDraw of the change.If your application changes the
pmTablefield of a pixel pattern'sPixMaprecord, it should callPixPatChanged. However, if your application changes the content of the color table referenced by thePixMaprecord'spmTablefield, it should callPixPatChangedand theCTabChangedprocedure as well. (TheCTabChangedprocedure is described in the preceding section.)SPECIAL CONSIDERATIONS
ThePixPatChangedprocedure may move or purge memory in the application heap. Your application should not call thePixPatChangedprocedure at interrupt time.Your application should never need to directly modify a
PixPatrecord and use thePixPatChangedprocedure; instead, your application should use the QuickDraw routines described in this book for manipulating the values in aPixPatrecord.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePixPatChangedprocedure are
Trap macro Selector _QDExtensions $00040008