Searched refs:con (Results 1 – 1 of 1) sorted by relevance
4241 static void stbrp_init_target(stbrp_context * con, int pw, int ph, stbrp_node * nodes, int num_node… argument4243 con->width = pw;4244 con->height = ph;4245 con->x = 0;4246 con->y = 0;4247 con->bottom_y = 0;4252 static void stbrp_pack_rects(stbrp_context * con, stbrp_rect * rects, int num_rects) argument4256 if(con->x + rects[i].w > con->width) {4257 con->x = 0;4258 con->y = con->bottom_y;[all …]