Important: The information in this document is obsolete and should not be used for new development.
GXLoadStyle
You can use theGXLoadStyle
function to load a style into memory.
void GXLoadStyle(gxStyle target);
target
- A reference to the style object to be loaded into memory.
DESCRIPTION
TheGXLoadStyle
function moves a style object from disk storage to the active graphics client heap of your application. When you or QuickDraw GX unload a style object from memory to disk storage using theGXUnloadStyle
function, QuickDraw GX creates a 4-byte stub that remains in the graphics client heap. When you use theGXLoadStyle
function to retrieve the stored style, QuickDraw GX obtains the location of the stored style object from the stub.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory style_is_nil SEE ALSO
For additional information about loading objects from disk storage to memory and unloading objects from memory to disk storage, see the section "Loading and Unloading Objects" beginning on page 2-12.The
GXUnloadStyle
function is described in the next section.