class CCL::ItemViewGeometry
Overview
#include <itemviewgeometry.h> class ItemViewGeometry { public: // enums enum ItemRelation; // fields indicatorWidth; // methods PROPERTY_BOOL (vertical, Vertical); int getRelation (bool& upperHalf, RectRef itemRect, PointRef p); Rect calcSpriteSize (RectRef containerRect, RectRef itemRect, int relation); };
Detailed Documentation
Methods
int getRelation (bool& upperHalf, RectRef itemRect, PointRef p)
Get relation between point & item rect.
Rect calcSpriteSize (RectRef containerRect, RectRef itemRect, int relation)
Calculate size of a sprite for the given relation.