34 #include "../api_core.h"
35 #include "../System/sharedptr.h"
39 class CL_RectPacker_Impl;
85 void throw_if_null()
const;
88 AllocationPolicy get_allocation_policy()
const;
91 CL_Size get_max_group_size()
const;
94 int get_total_rect_count()
const;
97 int get_rect_count(
unsigned int group_index = 0)
const;
100 int get_group_count()
const;
107 void set_allocation_policy(AllocationPolicy policy);
110 AllocatedRect add(
const CL_Size &size);
116 CL_SharedPtr<CL_RectPacker_Impl> impl;