Validate
TheValidatemethod marks the specified area in this frame as no longer in need of updating.
void Validate (in ODShape validShape, in ODCanvas biasCanvas);
validShape- A reference to the shape object defining the area in this frame that no longer 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 mark portions of its display frame that do not need updating. This method in turn calls theValidatemethod associated with each of this frame's facets. TheValidatemethod transforms and clips the shape from the coordinate space of the facet to the coordinate space of its canvas and subtracts the shape from any existing invalid area of the canvas.SEE ALSO
TheODCanvas::Validatemethod (page 81).
TheODFacet::Validatemethod (page 257).
TheODFrame::Invalidatemethod (page 325).
"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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help