Logo Search packages:      
Sourcecode: blender version File versions

void GHOST_GetRectangle ( GHOST_RectangleHandle  rectanglehandle,
GHOST_TInt32 *  l,
GHOST_TInt32 *  t,
GHOST_TInt32 *  r,
GHOST_TInt32 *  b 

Gets all members of the rectangle.

rectanglehandle The handle to the rectangle
l Pointer to return left coordinate in.
t Pointer to return top coordinate in.
r Pointer to return right coordinate in.
b Pointer to return bottom coordinate in.

Definition at line 667 of file GHOST_C-api.cpp.

References GHOST_GetRectangle(), GHOST_Rect::m_b, GHOST_Rect::m_l, GHOST_Rect::m_r, and GHOST_Rect::m_t.

Referenced by GHOST_GetRectangle().

      GHOST_Rect *rect= (GHOST_Rect*) rectanglehandle;
      *l= rect->m_l;
      *t= rect->m_t;
      *r= rect->m_r;
      *b= rect->m_b;

Generated by  Doxygen 1.6.0   Back to index