Lines Matching defs:null
1112 /// cfg.null = dev->null;
1162 struct nk_draw_null_texture null; /* handle to texture with a white pixel for shape drawing */
9390 nk_draw_list_push_command(list, rect, list->config.null.texture);
9745 const struct nk_vec2 uv = list->config.null.uv;
9810 const struct nk_vec2 uv = list->config.null.uv;
9831 const struct nk_vec2 uv = list->config.null.uv;
9941 const struct nk_vec2 uv = list->config.null.uv;
9978 vtx = nk_draw_vertex(vtx, &list->config, points[i], list->config.null.uv, col);
10007 if (cmd && cmd->texture.ptr != list->config.null.texture.ptr)
10008 nk_draw_list_push_image(list, list->config.null.texture);
10210 nk_draw_list_push_image(list, list->config.null.texture);
10220 vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x, rect.y), list->config.null.uv, col_left);
10221 vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x + rect.w, rect.y), list->config.null.uv, col_top);
10222 vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x + rect.w, rect.y + rect.h), list->config.null.uv, col_right);
10223 vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x, rect.y + rect.h), list->config.null.uv, col_bottom);
13837 struct nk_draw_null_texture *null)
13843 if (!null) return;
13844 null->texture = texture;
13845 null->uv = nk_vec2(0.5f,0.5f);
13847 if (null) {
13848 null->texture = texture;
13849 null->uv.x = (atlas->custom.x + 0.5f)/(float)atlas->tex_width;
13850 null->uv.y = (atlas->custom.y + 0.5f)/(float)atlas->tex_height;