BOOL CBCGPVisualLayout::AddAnchor | ( | CBCGPBaseVisualObject * | pObject, |
XMoveType | typeMove, | ||
XSizeType | typeSize, | ||
const CPoint & | percMove = CPoint(100, 100) , |
||
const CPoint & | percSize = CPoint(100, 100) |
||
) |
Adds an anchor.
pObject | A pointer to the visual object. |
typeMove | Defines move direction. |
typeSize | Defines resize method. |
percMove | Defines (in percents) how far a visual object is moved when a container is resized. |
percSize | Defines (in percents) how visual object is resized. |