Lines Matching defs:height
128 STBRP_DEF void stbrp_init_target (stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes);
130 // pack a rectangle that is 'width' by 'height' in dimensions
182 int height;
260 STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes)
264 STBRP_ASSERT(width <= 0xffff && height <= 0xffff);
275 context->height = height;
349 static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int width, int height)
373 if (y + height <= c->height) {
423 if (y + height < c->height) {
444 static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, int width, int height)
447 stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height);
454 if (res.prev_link == NULL || res.y + height > context->height || context->free_head == NULL) {
462 node->y = (stbrp_coord) (res.y + height);