Lines Matching defs:region
466 struct nk_image {nk_handle handle;unsigned short w,h;unsigned short region[4];};
10326 /* add region inside of the texture */
10328 uv[0].x = (float)texture.region[0]/(float)texture.w;
10329 uv[0].y = (float)texture.region[1]/(float)texture.h;
10330 uv[1].x = (float)(texture.region[0] + texture.region[2])/(float)texture.w;
10331 uv[1].y = (float)(texture.region[1] + texture.region[3])/(float)texture.h;
13811 cursor->img.region[0] = (unsigned short)(atlas->custom.x + nk_cursor_data[i][0].x);
13812 cursor->img.region[1] = (unsigned short)(atlas->custom.y + nk_cursor_data[i][0].y);
13813 cursor->img.region[2] = (unsigned short)nk_cursor_data[i][1].x;
13814 cursor->img.region[3] = (unsigned short)nk_cursor_data[i][1].y;
19573 s.region[0] = (unsigned short)r.x;
19574 s.region[1] = (unsigned short)r.y;
19575 s.region[2] = (unsigned short)r.w;
19576 s.region[3] = (unsigned short)r.h;
19586 s.region[0] = (unsigned short)r.x;
19587 s.region[1] = (unsigned short)r.y;
19588 s.region[2] = (unsigned short)r.w;
19589 s.region[3] = (unsigned short)r.h;
19600 s.region[0] = (unsigned short)r.x;
19601 s.region[1] = (unsigned short)r.y;
19602 s.region[2] = (unsigned short)r.w;
19603 s.region[3] = (unsigned short)r.h;
19613 s.region[0] = 0;
19614 s.region[1] = 0;
19615 s.region[2] = 0;
19616 s.region[3] = 0;
19627 s.region[0] = 0;
19628 s.region[1] = 0;
19629 s.region[2] = 0;
19630 s.region[3] = 0;
19640 s.region[0] = 0;
19641 s.region[1] = 0;
19642 s.region[2] = 0;
19643 s.region[3] = 0;