Lines Matching defs:pixel

187 ///     // fixed widget pixel width
198 /// // custom widget pixel width
1152 nk_handle texture; /* texture handle to a texture with a white pixel */
1153 struct nk_vec2 uv; /* coordinates to a white pixel in the texture */
1162 struct nk_draw_null_texture null; /* handle to texture with a white pixel for shape drawing */
2068 /// widget with same horizontal pixel width inside the row and does not grow
2093 /// specify each column pixel or window ratio in a row. It supports either
2094 /// directly setting per column pixel width or widget window ratio but not
2130 /// functions. Instead of pushing either pixel or window ratio for every widget
2170 /// one is the `nk_layout_row_template_push_static` with fixed widget pixel width.
2190 /// nk_widget(...); // variable widget with min 80 pixel but can grow bigger if enough space
2191 /// nk_widget(...); // static widget with fixed 80 pixel width
2206 /// allocated space local position and pixel size. Since this API is quite
2236 /// nk_layout_ratio_from_pixel | Utility functions to calculate window ratio from pixel size
2247 /// nk_layout_row_template_push_variable | Adds a variable column that dynamically grows but does not shrink below specified pixel width
2252 /// nk_layout_space_push | Pushes position and size of the next widget in own coordinate space either as pixel or ratio
2302 /// Utility functions to calculate window ratio from pixel size
2342 /// __width__ | Holds pixel width of each widget in the row
2422 /// Adds a variable column that dynamically grows but does not shrink below specified pixel width
2430 /// __width__ | Holds the minimum pixel width the next column must always be
2442 /// __width__ | Holds the absolute pixel width value the next column must be
2471 /// Pushes position and size of the next widget in own coordinate space either as pixel or ratio
3222 /// decrement button is clicked. Finally there is a value for increment per pixel
3297 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3318 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3339 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3360 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3383 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3406 /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging
3762 `nk_user_font` struct which only requires the height in pixel of the used
3921 /* font string width in pixel callback */
3933 NK_COORD_PIXEL /* texture coordinates inside font glyphs are in absolute pixel */
3965 /* align every character to pixel boundary (if true set oversample (1,1)) */
3967 /* rasterize at hight quality for sub-pixel position */
3971 /* baked pixel height of the font */
3973 /* texture coordinate format with either pixel or UV coordinates */
3975 /* extra pixel spacing between glyphs */
4011 void *pixel;
11707 /* brute force every pixel */
11753 /* simple case, only spans one pixel */
11758 scanline_fill[x] += e->direction * (float)height; /* everything right of this pixel is filled */
11809 /* there can be up to two intersections with the pixel. any intersection */
11884 /* find center of pixel for this scanline */
12121 /* half-pixel error allowed... need to be smaller if AA */
13489 if (atlas->pixel) {
13490 atlas->permanent.free(atlas->permanent.userdata, atlas->pixel);
13491 atlas->pixel = 0;
13764 atlas->pixel = atlas->temporary.alloc(atlas->temporary.userdata,0, img_size);
13765 NK_ASSERT(atlas->pixel);
13766 if (!atlas->pixel)
13769 /* bake glyphs and custom white pixel into image */
13770 nk_font_bake(baker, atlas->pixel, *width, *height,
13772 nk_font_bake_custom_data(atlas->pixel, *width, *height, atlas->custom,
13781 nk_font_bake_convert(img_rgba, *width, *height, atlas->pixel);
13782 atlas->temporary.free(atlas->temporary.userdata, atlas->pixel);
13783 atlas->pixel = img_rgba;
13820 return atlas->pixel;
13829 if (atlas->pixel) {
13830 atlas->temporary.free(atlas->temporary.userdata, atlas->pixel);
13831 atlas->pixel = 0;
13861 atlas->temporary.free(atlas->temporary.userdata, atlas->pixel);
13862 atlas->pixel = 0;
18258 /* non-scaling array of panel pixel width for every widget */
21427 float pixel, delta;
21431 pixel = in->mouse.delta.y;
21432 delta = (pixel / scroll->h) * target;
21438 pixel = in->mouse.delta.x;
21439 delta = (pixel / scroll->w) * target;
23064 /* 2D pixel positions */