IBounds2D Class

class IBounds2D: public ISize2D

Interface for manipulating the bounding rectangle of a two-dimensional object.

Defined in: Visual.h

Class Members

virtual CRect  GetBounds() const

Get the bounding rectangle of an object.

virtual CPoint  GetOrigin() const

Get the origin of an object.

virtual CPoint  SetOrigin(int x, int y)

Set the origin of an object.

virtual CPoint  MoveOrigin(int xOff,int yOff)

Move the origin of an object by a given X,Y offset.