Home
last modified time | relevance | path

Searched refs:draw_width (Results 1 – 25 of 226) sorted by relevance

12345678910

/dports/x11/mate-applets/mate-applets-1.26.0/multiload/src/
H A Dload-graph.c37 last_data = g->data[g->draw_width - 1]; in shift_right()
40 for (i = g->draw_width - 1; i != 0; --i) in shift_right()
84 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
116 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
129 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
165 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
178 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
211 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
218 for (i = 0; i < g->draw_width; i++) in load_graph_draw()
263 for (i = 0; i < g->draw_width; i++) in load_graph_unalloc()
[all …]
/dports/print/py-weasyprint/WeasyPrint-51/weasyprint/layout/
H A Dreplaced.py101 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
114 draw_width = min(draw_width, intrinsic_width)
118 ref_x = box.width - draw_width
131 return draw_width, draw_height, position_x, position_y
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/
H A Dsdlinit.c169 if (!find_size((int*)&draw_width, (int*)&draw_height)) in Init_window()
172 if ((MainSDLSurface = SDL_SetVideoMode(draw_width, 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()
268 b.w = draw_width = width; 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()
323 draw_width = w; in Set_geometry()
332 snprintf(buf, 20, "%dx%d", draw_width, draw_height); in Get_geometry()
H A Dconsole.c45 if (cr.w > draw_width) cr.w = draw_width; in Console_init()
47 cr.x = (draw_width - cr.w) / 2; in Console_init()
75 console_window.x = (draw_width - console_window.w) / 2; in Console_paint()
/dports/games/retroarch/RetroArch-1.9.7/gfx/
H A Dgfx_thumbnail.c622 float *draw_width, float *draw_height) in gfx_thumbnail_get_draw_dimensions() argument
641 *draw_width = (float)width; in gfx_thumbnail_get_draw_dimensions()
657 *draw_width *= scale_factor; in gfx_thumbnail_get_draw_dimensions()
662 *draw_width = 0.0f; in gfx_thumbnail_get_draw_dimensions()
702 float draw_width; in gfx_thumbnail_draw() local
723 &draw_width, &draw_height); in gfx_thumbnail_draw()
769 draw_x = x + ((float)width - draw_width) / 2.0f; in gfx_thumbnail_draw()
775 draw_x = x + ((float)width - draw_width) / 2.0f; in gfx_thumbnail_draw()
787 draw_x = x + (float)width - draw_width; in gfx_thumbnail_draw()
837 shadow_width = draw_width; in gfx_thumbnail_draw()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/NT/
H A Dxevent.c76 (int)draw_width/2, (int)draw_height/2); in Platform_specific_pointer_control_set_state()
107 draw_width = top_width; in Toggle_radar_and_scorelist()
139 draw_width = top_width - (258); in Toggle_radar_and_scorelist()
214 mouseMovement = point.x - draw_width/2; in xevent_pointer()
217 draw_width/2, draw_height/2); in xevent_pointer()
221 delta.x = draw_width / 2 - mousePosition.x; in xevent_pointer()
223 if (ABS(delta.x) > 3 * draw_width / 8 in xevent_pointer()
/dports/emulators/tme/tme-0.8/machine/sun/
H A Dsun-cgsix.c519 tme_int32_t draw_width; in _tme_suncg6_draw() local
538 draw_width in _tme_suncg6_draw()
539 = (draw_width < dst_x in _tme_suncg6_draw()
577 draw_width = TME_MIN(draw_width, in _tme_suncg6_draw()
583 if (draw_width == 0 in _tme_suncg6_draw()
593 + (draw_width - 1) in _tme_suncg6_draw()
676 tme_int32_t draw_width; in _tme_suncg6_font() local
693 draw_width in _tme_suncg6_font()
694 = (draw_width < dst_x in _tme_suncg6_font()
722 draw_width = TME_MIN(draw_width, in _tme_suncg6_font()
[all …]
/dports/graphics/pinta/pinta-1.7.1/Pinta.Gui.Widgets/Widgets/Layers/
H A DCellRendererSurface.cs97 int draw_width = width; in RenderCell()
103 draw_width = (int)(surface.Width * height / surface.Height); in RenderCell()
109 int offset_x = (int)((width - draw_width) / 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 Dxevent.c79 (int)draw_width/2, (int)draw_height/2); in Platform_specific_pointer_control_set_state()
113 draw_width = top_width; in Toggle_radar_and_scorelist()
145 draw_width = top_width - (258); in Toggle_radar_and_scorelist()
259 delta.x = draw_width / 2 - mousePosition.x; in xevent_pointer()
261 if (ABS(delta.x) > 3 * draw_width / 8 in xevent_pointer()
268 event.xmotion.x = draw_width/2; in xevent_pointer()
274 (int)draw_width/2, (int)draw_height/2); in xevent_pointer()
/dports/games/scummvm/scummvm-2.5.1/engines/agos/
H A Dgfx.cpp179 state->draw_width = state->width * 2; in drawImage_clip()
185 if (!--state->draw_width) in drawImage_clip()
193 cur += state->draw_width - maxWidth; in drawImage_clip()
196 if (!--state->draw_width) in drawImage_clip()
221 state->draw_width *= 4; in drawImage_clip()
475 state->draw_width *= 2; in drawMaskedImage()
530 } while (++w != state->draw_width); in drawMaskedImage()
624 state->draw_width *= 2; in draw32ColorImage()
755 state->draw_width *= 2; in drawBackGroundImage()
758 const uint w = state->draw_width; in drawBackGroundImage()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/agos/
H A Dgfx.cpp179 state->draw_width = state->width * 2; in drawImage_clip()
185 if (!--state->draw_width) in drawImage_clip()
193 cur += state->draw_width - maxWidth; in drawImage_clip()
196 if (!--state->draw_width) in drawImage_clip()
221 state->draw_width *= 4; in drawImage_clip()
475 state->draw_width *= 2; in drawMaskedImage()
530 } while (++w != state->draw_width); in drawMaskedImage()
624 state->draw_width *= 2; in draw32ColorImage()
755 state->draw_width *= 2; in drawBackGroundImage()
758 const uint w = state->draw_width; in drawBackGroundImage()
[all …]
/dports/net-im/cawbird/cawbird-1.4.2/src/widgets/
H A DResizableImage.vala49 int draw_width, draw_height;
51 … this.get_draw_size (widget_width, widget_height, out draw_width, out draw_height, out scale);
53 double draw_x = (widget_width - draw_width) / 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);
/dports/textproc/kreport/kreport-3.2.0/src/plugins/barcode/
H A Dcodeeanpaint.cpp126 int draw_width = r.width(); in renderCodeEAN13() local
148 int nqz = (draw_width - L) / 2; in renderCodeEAN13()
151 quiet_zone = draw_width - (L + quiet_zone); in renderCodeEAN13()
276 int draw_width = r.width(); in renderCodeUPCA() local
298 int nqz = (draw_width - L) / 2; in renderCodeUPCA()
301 quiet_zone = draw_width - (L + quiet_zone); in renderCodeUPCA()
429 int draw_width = r.width(); in renderCodeEAN8() local
451 int nqz = (draw_width - L) / 2; in renderCodeEAN8()
454 quiet_zone = draw_width - (L + quiet_zone); in renderCodeEAN8()
566 int draw_width = r.width(); in renderCodeUPCE() local
[all …]
H A D3of9paint.cpp111 int draw_width = r.width(); in render3of9() local
142 int nqz = (draw_width - L) / 2; in render3of9()
145 quiet_zone = draw_width - (L + quiet_zone); in render3of9()
H A D3of9.cpp114 qreal draw_width = r.width(); in render3of9() local
145 qreal nqz = (draw_width - L) / 2.0; in render3of9()
149 quiet_zone = draw_width - (L + quiet_zone); in render3of9()
H A Di2of5.cpp90 qreal draw_width = r.width(); in renderI2of5() local
115 qreal nqz = (draw_width - L) / 2.0; in renderI2of5()
121 quiet_zone = draw_width - (L + quiet_zone); in renderI2of5()
H A Di2of5paint.cpp82 int draw_width = r.width(); in renderI2of5() local
107 int nqz = (draw_width - L) / 2.0; in renderI2of5()
113 quiet_zone = draw_width - (L + quiet_zone); in renderI2of5()
H A Dcodeean.cpp133 qreal draw_width = r.width(); in renderCodeEAN13() local
155 qreal nqz = (draw_width - L) / 2; in renderCodeEAN13()
159 quiet_zone = draw_width - (L + quiet_zone); in renderCodeEAN13()
330 qreal draw_width = r.width(); in renderCodeUPCA() local
352 qreal nqz = (draw_width - L) / 2; in renderCodeUPCA()
356 quiet_zone = draw_width - (L + quiet_zone); in renderCodeUPCA()
539 qreal draw_width = r.width(); in renderCodeEAN8() local
561 qreal nqz = (draw_width - L) / 2; in renderCodeEAN8()
565 quiet_zone = draw_width - (L + quiet_zone); in renderCodeEAN8()
719 qreal draw_width = r.width(); in renderCodeUPCE() local
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/gl/
H A Dgskglglyphcache.c134 surface_width = value->draw_width * key->data.scale / 1024; in render_glyph()
150 glyph_info.geometry.width = value->draw_width * 1024; in render_glyph()
237 const int width = value->draw_width * 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()
313 value->draw_width = ink_rect.width; in gsk_gl_glyph_cache_lookup_or_add()
328 value->draw_width * 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/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/pistoncore-input-0.28.0/benches/
H A Drender.rs16 draw_width: 0, in bench_input_render()
23 draw_width: 10, in bench_input_render()
/dports/x11-wm/mutter/mutter-41.1/cogl/cogl-pango/
H A Dcogl-pango-glyph-cache.c203 value->tx2 = (rect->x + value->draw_width) / tex_width; in cogl_pango_glyph_cache_update_position_cb()
231 value->draw_width, in cogl_pango_glyph_cache_add_to_global_atlas()
274 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
293 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
337 value->draw_width = ink_rect.width; in cogl_pango_glyph_cache_lookup()
/dports/games/jumpnbump/jumpnbump-1.61-7a0a7ab7491680338bb13058adafdfaac03a1f6d/sdl/
H A Dgfx.c672 int draw_width, draw_height; in put_pob() local
686 width = draw_width = gob->width[image]*2; in put_pob()
691 width = draw_width = gob->width[image]; in put_pob()
706 draw_width += x; in put_pob()
710 draw_width -= x + width - screen_width; in put_pob()
723 for (c2 = 0; c2 < draw_width; c2++) { in put_pob()
739 draw_width = ((x+draw_width)>>dirty_block_shift) - (x>>dirty_block_shift) + 1; in put_pob()
743 while (draw_width--) in put_pob()
745 dirty_blocks[page][(y+c1)*25+(x+draw_width)] = 1; in put_pob()
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/gui/widgets/
H A Dmidi_note.c120 int draw_width = draw_rect->width; in draw_midi_note_bg() local
124 draw_width += in draw_midi_note_bg()
131 draw_width += 4; in draw_midi_note_bg()
136 draw_width, full_rect->height, 1.0, in draw_midi_note_bg()
/dports/graphics/cogl/cogl-1.22.8/cogl-pango/
H A Dcogl-pango-glyph-cache.c205 value->tx2 = (rect->x + value->draw_width) / tex_width; in cogl_pango_glyph_cache_update_position_cb()
233 value->draw_width, in cogl_pango_glyph_cache_add_to_global_atlas()
276 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
295 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
339 value->draw_width = ink_rect.width; in cogl_pango_glyph_cache_lookup()
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl-pango/
H A Dcogl-pango-glyph-cache.c205 value->tx2 = (rect->x + value->draw_width) / tex_width; in cogl_pango_glyph_cache_update_position_cb()
233 value->draw_width, in cogl_pango_glyph_cache_add_to_global_atlas()
276 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
295 value->draw_width + 1, in cogl_pango_glyph_cache_add_to_local_atlas()
339 value->draw_width = ink_rect.width; in cogl_pango_glyph_cache_lookup()

12345678910