ChangeUsedShape
TheChangeUsedShapemethod assigns a used shape to this frame.
void ChangeUsedShape (in ODShape shape, in ODCanvas biasCanvas);
shape- A reference to a used shape to assign to this frame, expressed in frame coordinates, or
kODNULLif the used shape is the same as the frame shape.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 assigns a used shape to its display frame by calling the frame'sChangeUsedShapemethod. This method in turn calls theUsedShapeChangedmethod of the display frame's containing part to notify the containing part that its used shape has changed.SEE ALSO
TheODFrame::AcquireUsedShapemethod (page 304).
TheODPart::UsedShapeChangedmethod (page 550).
Listing 2-19 on page 71 in OpenDoc Cookbook.
"Used Shape" on page 146 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help