Logo Search packages:      
Sourcecode: blender version File versions

GHOST_TVisibility GHOST_GetRectangleVisibility ( GHOST_RectangleHandle  rectanglehandle,
GHOST_RectangleHandle  anotherrectanglehandle 
)

Returns whether the rectangle is inside this rectangle.

Parameters:
rectanglehandle The handle to the rectangle
r rectangle to test.
Returns:
visibility (not, partially or fully visible).

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

References GHOST_GetRectangleVisibility().

Referenced by GHOST_GetRectangleVisibility().

{
      GHOST_TVisibility visible = GHOST_kNotVisible;

      visible = ((GHOST_Rect*)rectanglehandle)->getVisibility(*(GHOST_Rect*)anotherrectanglehandle);

      return visible;
}


Generated by  Doxygen 1.6.0   Back to index