Contents page

Index

FrameObject


AFDataType/FrameObject

  rect = FrameObject(AFWindow *window)
  rect = FrameObject(AFScreen *screen)
  rect = FrameObject()

DESCRIPTION Gets dimensions of the datatype object based on the function that you call. If you call the FrameObject(window) function, if the datatype viewing area is larger than the window, the rect returned will be the same as the interior size of the window, same goes for FrameObject(screen). If FrameObject() is called, a rect of the actual object size is returned.

INPUTS window - AFWindow pointer screen - AFScreen pointer

RESULT rect - AFRect from which you can use the size

BUGS none known

SEE ALSO AFWindow AFScreen AFRect