| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Update the anchoring values (rules) for the given widget
int PtCalcAnchorOffsets( PtWidget_t *widget );
This function updates the anchoring rules for the given widget based on its current anchor flags and its parent's canvas rectangle.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtAnchorWidget(), PtApplyAnchors()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |