/dports/textproc/kreport/kreport-3.2.0/src/plugins/barcode/ |
H A D | codeeanpaint.cpp | 127 int draw_height = r.height() - 2; in renderCodeEAN13() local 219 (r.top() + draw_height) - 7, in renderCodeEAN13() 223 (r.top() + draw_height) - 7, in renderCodeEAN13() 277 int draw_height = r.height() - 2; in renderCodeUPCA() local 370 (r.top() + draw_height) - 7, in renderCodeUPCA() 374 (r.top() + draw_height) - 7, in renderCodeUPCA() 430 int draw_height = r.height() - 2; in renderCodeEAN8() local 518 (r.top() + draw_height) - 6, in renderCodeEAN8() 522 (r.top() + draw_height) - 6, in renderCodeEAN8() 567 int draw_height = r.height() - 2; in renderCodeUPCE() local [all …]
|
H A D | codeean.cpp | 134 qreal draw_height = r.height() - 2; in renderCodeEAN13() local 174 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 182 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 208 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 216 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 240 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 248 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeEAN13() 331 qreal draw_height = r.height() - 2; in renderCodeUPCA() local 370 rect->setRect(QRectF(pos, top, bar_width, draw_height)); in renderCodeUPCA() 540 qreal draw_height = r.height() - 0.02; in renderCodeEAN8() local [all …]
|
/dports/print/py-weasyprint/WeasyPrint-51/weasyprint/layout/ |
H A D | replaced.py | 101 draw_width, draw_height = box.width, box.height 104 draw_width, draw_height = contain_constraint_image_sizing( 107 draw_width, draw_height = cover_constraint_image_sizing( 111 draw_width, draw_height = intrinsic_width, intrinsic_height 115 draw_height = min(draw_height, intrinsic_height) 119 ref_y = box.height - draw_height 131 return draw_width, draw_height, position_x, position_y
|
/dports/games/retroarch/RetroArch-1.9.7/gfx/ |
H A D | gfx_thumbnail.c | 622 float *draw_width, float *draw_height) in gfx_thumbnail_get_draw_dimensions() argument 646 *draw_height = (float)height; in gfx_thumbnail_get_draw_dimensions() 658 *draw_height *= scale_factor; in gfx_thumbnail_get_draw_dimensions() 663 *draw_height = 0.0f; in gfx_thumbnail_get_draw_dimensions() 703 float draw_height; in gfx_thumbnail_draw() local 723 &draw_width, &draw_height); in gfx_thumbnail_draw() 783 draw_y = (float)video_height - y - draw_height - ((float)height - draw_height) / 2.0f; in gfx_thumbnail_draw() 789 draw_y = (float)video_height - y - draw_height - ((float)height - draw_height) / 2.0f; in gfx_thumbnail_draw() 795 draw_y = (float)video_height - y - draw_height - ((float)height - draw_height) / 2.0f; in gfx_thumbnail_draw() 838 shadow_height = draw_height; in gfx_thumbnail_draw() [all …]
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/ |
H A D | sdlinit.c | 169 if (!find_size((int*)&draw_width, (int*)&draw_height)) in Init_window() 173 draw_height, in Init_window() 190 glViewport(0, 0, draw_width, draw_height); in Init_window() 192 gluOrtho2D(0, draw_width, 0, draw_height); in Init_window() 269 b.h = draw_height = height; in Resize_Window() 285 gluOrtho2D(0, draw_width, 0, draw_height); in Resize_Window() 294 glViewport( 0, 0, ( GLint )draw_width, ( GLint )draw_height ); in Resize_Window() 324 draw_height = h; in Set_geometry() 332 snprintf(buf, 20, "%dx%d", draw_width, draw_height); in Get_geometry()
|
H A D | console.c | 46 if (cr.h > draw_height) cr.h = draw_height; in Console_init() 48 cr.y = (draw_height - cr.h) / 2; in Console_init() 76 console_window.y = (draw_height - console_window.h) / 2; in Console_paint()
|
/dports/x11/mate-applets/mate-applets-1.26.0/multiload/src/ |
H A D | load-graph.c | 86 g->pos [i] = g->draw_height - 1; in load_graph_draw() 109 ratio = (double) g->draw_height / (double) (net_threshold*segments); in load_graph_draw() 142 spacing = ((double) g->draw_height / (double) segments) * (k+1); in load_graph_draw() 154 5.0, (double) g->draw_height / 5.0); in load_graph_draw() 167 g->pos [i] = g->draw_height - 1; in load_graph_draw() 172 load = ceil ((double) maxload / (double) g->draw_height) + 1.0; in load_graph_draw() 201 spacing = ((double) g->draw_height/load) * (k+1); in load_graph_draw() 212 g->pos [i] = g->draw_height - 1; in load_graph_draw() 249 g->get_data (g->draw_height, g->data [0], g); in load_graph_update() 319 c->draw_height = (guint64) allocation.height; in load_graph_configure() [all …]
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/NT/ |
H A D | xevent.c | 76 (int)draw_width/2, (int)draw_height/2); in Platform_specific_pointer_control_set_state() 108 draw_height = top_height; in Toggle_radar_and_scorelist() 140 draw_height = top_height; in Toggle_radar_and_scorelist() 217 draw_width/2, draw_height/2); in xevent_pointer() 222 delta.y = draw_height / 2 - mousePosition.y; in xevent_pointer() 224 || ABS(delta.y) > 1 * draw_height / 8) in xevent_pointer()
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/Layers/ |
H A D | CellRendererSurface.cs | 98 int draw_height = height; in RenderCell() 106 draw_height = (int)(surface.Height * width / surface.Width); in RenderCell() 110 int offset_y = (int)((height - draw_height) / 2f); in RenderCell() 113 g.Rectangle (offset_x, offset_y, draw_width, draw_height); in RenderCell() 127 g.Rectangle (offset_x + 0.5, offset_y + 0.5, draw_width, draw_height); in RenderCell()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/x11/ |
H A D | xevent.c | 79 (int)draw_width/2, (int)draw_height/2); in Platform_specific_pointer_control_set_state() 114 draw_height = top_height; in Toggle_radar_and_scorelist() 146 draw_height = top_height; in Toggle_radar_and_scorelist() 260 delta.y = draw_height / 2 - mousePosition.y; in xevent_pointer() 262 || ABS(delta.y) > 1 * draw_height / 8) { in xevent_pointer() 269 event.xmotion.y = draw_height/2; in xevent_pointer() 274 (int)draw_width/2, (int)draw_height/2); in xevent_pointer()
|
/dports/net-im/cawbird/cawbird-1.4.2/src/widgets/ |
H A D | ResizableImage.vala | 49 int draw_width, draw_height; 51 … this.get_draw_size (widget_width, widget_height, out draw_width, out draw_height, out scale); 58 double draw_y = (widget_height - draw_height) / 2; 64 sc.render_background (ct, draw_x, 0, draw_width, draw_height); 65 sc.render_frame (ct, draw_x, 0, draw_width, draw_height); 68 sc.render_focus (ct, draw_x + 2, 2, draw_width - 4, draw_height - 4);
|
H A D | AddImageButton.vala | 81 int draw_width, draw_height; 83 this.get_draw_size (out draw_width, out draw_height, out scale); 85 if (draw_width > 0 && draw_height > 0) { 87 …(this.surface, (widget_width - draw_width) / 2 / scale, (widget_height - draw_height) / 2 / scale);
|
/dports/games/scummvm/scummvm-2.5.1/engines/agos/ |
H A D | gfx.cpp | 204 if (!--state->draw_height) in drawImage_clip() 212 cur += state->draw_height - maxHeight; in drawImage_clip() 215 if (!--state->draw_height) in drawImage_clip() 460 } while (--state->draw_height); in drawImage() 477 uint h = state->draw_height; in drawMaskedImage() 511 h = state->draw_height; in drawMaskedImage() 563 } while (--state->draw_height); in drawMaskedImage() 619 } while (--state->draw_height); in draw32ColorImage() 626 h = state->draw_height; in draw32ColorImage() 757 uint h = state->draw_height; in drawBackGroundImage() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/agos/ |
H A D | gfx.cpp | 204 if (!--state->draw_height) in drawImage_clip() 212 cur += state->draw_height - maxHeight; in drawImage_clip() 215 if (!--state->draw_height) in drawImage_clip() 460 } while (--state->draw_height); in drawImage() 477 uint h = state->draw_height; in drawMaskedImage() 511 h = state->draw_height; in drawMaskedImage() 563 } while (--state->draw_height); in drawMaskedImage() 619 } while (--state->draw_height); in draw32ColorImage() 626 h = state->draw_height; in draw32ColorImage() 757 uint h = state->draw_height; in drawBackGroundImage() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/shaders/ |
H A D | fp-indirections2.c | 158 unsigned int draw_height; in test() local 184 draw_height = TEXTURE_SIZE; in test() 185 piglit_draw_rect_tex(0, 0, TEXTURE_SIZE, draw_height, 0, 0, 1, 1); in test() 192 for(y = 0; y < draw_height; ++y) { in test()
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/pistoncore-input-0.28.0/benches/ |
H A D | render.rs | 17 draw_height: 0, in bench_input_render() 24 draw_height: 10, in bench_input_render()
|
/dports/x11-wm/mutter/mutter-41.1/cogl/cogl-pango/ |
H A D | cogl-pango-glyph-cache.c | 204 value->ty2 = (rect->y + value->draw_height) / tex_height; in cogl_pango_glyph_cache_update_position_cb() 232 value->draw_height); in cogl_pango_glyph_cache_add_to_global_atlas() 275 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 294 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 338 value->draw_height = ink_rect.height; in cogl_pango_glyph_cache_lookup()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/gl/ |
H A D | gskglglyphcache.c | 135 surface_height = value->draw_height * key->data.scale / 1024; in render_glyph() 238 const int height = value->draw_height * key->data.scale / 1024; in add_to_cache() 289 gsk_gl_texture_atlas_mark_used (value->atlas, value->draw_width, value->draw_height); in gsk_gl_glyph_cache_lookup_or_add() 314 value->draw_height = ink_rect.height; in gsk_gl_glyph_cache_lookup_or_add() 329 value->draw_height * key->data.scale / 1024 > 0) in gsk_gl_glyph_cache_lookup_or_add() 373 … gsk_gl_texture_atlas_mark_unused (value->atlas, value->draw_width, value->draw_height); in gsk_gl_glyph_cache_begin_frame()
|
/dports/graphics/cogl/cogl-1.22.8/cogl-pango/ |
H A D | cogl-pango-glyph-cache.c | 206 value->ty2 = (rect->y + value->draw_height) / tex_height; in cogl_pango_glyph_cache_update_position_cb() 234 value->draw_height); in cogl_pango_glyph_cache_add_to_global_atlas() 277 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 296 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 340 value->draw_height = ink_rect.height; in cogl_pango_glyph_cache_lookup()
|
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl-pango/ |
H A D | cogl-pango-glyph-cache.c | 206 value->ty2 = (rect->y + value->draw_height) / tex_height; in cogl_pango_glyph_cache_update_position_cb() 234 value->draw_height); in cogl_pango_glyph_cache_add_to_global_atlas() 277 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 296 value->draw_height + 1, in cogl_pango_glyph_cache_add_to_local_atlas() 340 value->draw_height = ink_rect.height; in cogl_pango_glyph_cache_lookup()
|
/dports/emulators/tme/tme-0.8/machine/sun/ |
H A D | sun-cgsix.c | 521 tme_int32_t draw_height; in _tme_suncg6_draw() local 545 draw_height = suncg6->tme_suncg6_fbc_rect_abs_y[rect_abs_i % TME_SUNCG6_RECT_ABS_COUNT]; in _tme_suncg6_draw() 548 draw_height in _tme_suncg6_draw() 549 = (draw_height < dst_y in _tme_suncg6_draw() 551 : (draw_height + 1 - dst_y)); in _tme_suncg6_draw() 579 draw_height = TME_MIN(draw_height, in _tme_suncg6_draw() 584 || draw_height == 0) { in _tme_suncg6_draw() 594 + (fb_width * (draw_height - 1))); in _tme_suncg6_draw() 616 sizeof(tme_suncg6_pixel_t) * draw_width * draw_height); in _tme_suncg6_draw() 628 } while (--draw_height); in _tme_suncg6_draw() [all …]
|
/dports/games/jumpnbump/jumpnbump-1.61-7a0a7ab7491680338bb13058adafdfaac03a1f6d/sdl/ |
H A D | gfx.c | 672 int draw_width, draw_height; in put_pob() local 687 height = draw_height = gob->height[image]*2; in put_pob() 692 height = draw_height = gob->height[image]; in put_pob() 713 draw_height += y; in put_pob() 717 draw_height -= y + height - screen_height; in put_pob() 722 for (c1 = 0; c1 < draw_height; c1++) { in put_pob() 740 draw_height = ((y+draw_height)>>dirty_block_shift) - (y>>dirty_block_shift) + 1; in put_pob() 744 for (c1=0; c1<draw_height; c1++) in put_pob()
|
/dports/graphics/gimp-app/gimp-2.10.30/libgimp/ |
H A D | gimpdrawablepreview.c | 450 gint draw_width, draw_height; in gimp_drawable_preview_draw_area() local 461 &draw_width, &draw_height)) in gimp_drawable_preview_draw_area() 471 d_h = draw_height; in gimp_drawable_preview_draw_area() 474 s_h = draw_height; in gimp_drawable_preview_draw_area() 480 draw_width, draw_height, in gimp_drawable_preview_draw_area() 487 draw_width, draw_height, in gimp_drawable_preview_draw_area() 507 draw_height, in gimp_drawable_preview_draw_area()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/render/ |
H A D | buffers.cpp | 509 draw_height(0), in DisplayBuffer() 526 draw_height = 0; in reset() 544 draw_height = height; in draw_set() 549 if (draw_width != 0 && draw_height != 0) { in draw() 555 draw_height, in draw() 569 return (draw_width != 0 && draw_height != 0); in draw_ready()
|
/dports/games/xpilot/xpilot-4.5.5/src/client/ |
H A D | xevent.c | 224 draw_width/2, draw_height/2); in Pointer_control_set_state() 815 draw_width/2, draw_height/2); in xevent_pointer() 823 delta.y = draw_height / 2 - mouse.y; in xevent_pointer() 825 || ABS(delta.y) > 1 * draw_height / 8) { in xevent_pointer() 833 event.xmotion.y = draw_height/2; in xevent_pointer() 837 draw_width/2, draw_height/2); in xevent_pointer()
|