Invalidate
TheInvalidatemethod marks the specified area in this frame as in need of updating.
void Invalidate (in ODShape invalidShape, in ODCanvas biasCanvas);
invalidShape- A reference to the shape object defining the area in this frame that needs updating, expressed in frame coordinates.
biasCanvaskODNULLif the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.DISCUSSION
Your part calls this method to explicitly invalidate a portion of its display frame. This method in turn calls theInvalidatemethod associated with each of this frame's facets. The resulting invalid shape is transformed and clipped to the coordinate space of each facet's canvas.SEE ALSO
TheODCanvas::Invalidatemethod (page 75).
TheODFacet::Invalidatemethod (page 250).
TheODFrame::Validatemethod (page 341).
Listing 2-14 on page 61 in OpenDoc Cookbook.
Listing 2-19 on page 71 in OpenDoc Cookbook.
"Invalidating and Validating Your Content" on page 160 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help