Lines Matching refs:stbrp_context
85 typedef struct stbrp_context stbrp_context; typedef
100 STBRP_DEF int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects);
138 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes…
159 STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem);
164 STBRP_DEF void stbrp_setup_heuristic(stbrp_context * context, int heuristic);
185 struct stbrp_context { struct
231 STBRP_DEF void stbrp_setup_heuristic(stbrp_context * context, int heuristic) in stbrp_setup_heuristic()
243 STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem) in stbrp_setup_allow_out_of_mem()
263 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes… in stbrp_init_target()
289 static int stbrp__skyline_find_min_y(stbrp_context * c, stbrp_node * first, int x0, int width, int … in stbrp__skyline_find_min_y()
345 static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context * c, int width, int height) in stbrp__skyline_find_best_pos()
448 static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context * context, int width, int heig… in stbrp__skyline_pack_rectangle()
546 STBRP_DEF int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects) in stbrp_pack_rects()