Lines Matching refs:height
138 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes…
187 int height; member
263 STBRP_DEF void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes… in stbrp_init_target() argument
275 context->height = height; in stbrp_init_target()
345 static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context * c, int width, int height) in stbrp__skyline_find_best_pos() argument
357 if(width > c->width || height > c->height) { in stbrp__skyline_find_best_pos()
377 if(y + height <= c->height) { in stbrp__skyline_find_best_pos()
427 if(y + height <= c->height) { in stbrp__skyline_find_best_pos()
448 …tic stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context * context, int width, int height) in stbrp__skyline_pack_rectangle() argument
451 stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height); in stbrp__skyline_pack_rectangle()
458 if(res.prev_link == NULL || res.y + height > context->height || context->free_head == NULL) { in stbrp__skyline_pack_rectangle()
466 node->y = (stbrp_coord)(res.y + height); in stbrp__skyline_pack_rectangle()