Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TSuccess GHOST_IsEmptyRectangle ( GHOST_RectangleHandle  rectanglehandle  ) 

Returns whether this rectangle is empty. Empty rectangles are rectangles that have width==0 and/or height==0.

rectanglehandle The handle to the rectangle
intean value (true == empty rectangle)

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

References GHOST_IsEmptyRectangle().

Referenced by GHOST_IsEmptyRectangle().

      GHOST_TSuccess result = GHOST_kFailure;

      if (((GHOST_Rect*)rectanglehandle)->isEmpty())
            result = GHOST_kSuccess;

      return result;

Generated by  Doxygen 1.6.0   Back to index