Home
last modified time | relevance | path

Searched refs:draw_rect (Results 1 – 25 of 907) sorted by relevance

12345678910>>...37

/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/ipa/fig/
H A Dregion.h29 wmfDrawRectangle_t draw_rect; in wmf_fig_region_frame() local
39 draw_rect.dc = poly_rect->dc; in wmf_fig_region_frame()
41 draw_rect.width = 0; in wmf_fig_region_frame()
42 draw_rect.height = 0; in wmf_fig_region_frame()
67 WMF_DC_SET_PEN (draw_rect.dc,&pen); in wmf_fig_region_frame()
88 wmfDrawRectangle_t draw_rect; in wmf_fig_region_paint() local
100 draw_rect.dc = poly_rect->dc; in wmf_fig_region_paint()
102 draw_rect.width = 0; in wmf_fig_region_paint()
103 draw_rect.height = 0; in wmf_fig_region_paint()
116 { draw_rect.TL = poly_rect->TL[i]; in wmf_fig_region_paint()
[all …]
H A Ddraw.h57 wmfDrawRectangle_t draw_rect; in wmf_fig_draw_pixel() local
63 draw_rect.dc = draw_pixel->dc; in wmf_fig_draw_pixel()
65 draw_rect.width = 0; in wmf_fig_draw_pixel()
66 draw_rect.height = 0; in wmf_fig_draw_pixel()
70 set_brush = WMF_DC_BRUSH (draw_rect.dc); in wmf_fig_draw_pixel()
78 WMF_DC_SET_BRUSH (draw_rect.dc,&brush); in wmf_fig_draw_pixel()
82 set_pen = WMF_DC_PEN (draw_rect.dc); in wmf_fig_draw_pixel()
88 WMF_DC_SET_PEN (draw_rect.dc,&pen); in wmf_fig_draw_pixel()
95 wmf_fig_draw_rectangle (API,&draw_rect); in wmf_fig_draw_pixel()
572 if (TO_FILL (draw_rect)) in wmf_fig_draw_rectangle()
[all …]
/dports/graphics/libwmf/libwmf-0.2.12/src/ipa/fig/
H A Dregion.h29 wmfDrawRectangle_t draw_rect; in wmf_fig_region_frame() local
39 draw_rect.dc = poly_rect->dc; in wmf_fig_region_frame()
41 draw_rect.width = 0; in wmf_fig_region_frame()
42 draw_rect.height = 0; in wmf_fig_region_frame()
67 WMF_DC_SET_PEN (draw_rect.dc,&pen); in wmf_fig_region_frame()
88 wmfDrawRectangle_t draw_rect; in wmf_fig_region_paint() local
100 draw_rect.dc = poly_rect->dc; in wmf_fig_region_paint()
102 draw_rect.width = 0; in wmf_fig_region_paint()
103 draw_rect.height = 0; in wmf_fig_region_paint()
116 { draw_rect.TL = poly_rect->TL[i]; in wmf_fig_region_paint()
[all …]
H A Ddraw.h57 wmfDrawRectangle_t draw_rect; in wmf_fig_draw_pixel() local
63 draw_rect.dc = draw_pixel->dc; in wmf_fig_draw_pixel()
65 draw_rect.width = 0; in wmf_fig_draw_pixel()
66 draw_rect.height = 0; in wmf_fig_draw_pixel()
70 set_brush = WMF_DC_BRUSH (draw_rect.dc); in wmf_fig_draw_pixel()
78 WMF_DC_SET_BRUSH (draw_rect.dc,&brush); in wmf_fig_draw_pixel()
82 set_pen = WMF_DC_PEN (draw_rect.dc); in wmf_fig_draw_pixel()
88 WMF_DC_SET_PEN (draw_rect.dc,&pen); in wmf_fig_draw_pixel()
95 wmf_fig_draw_rectangle (API,&draw_rect); in wmf_fig_draw_pixel()
572 if (TO_FILL (draw_rect)) in wmf_fig_draw_rectangle()
[all …]
/dports/audio/denemo/denemo-2.0.6/src/export/
H A Dscreenshot.c42 GdkRectangle draw_rect; member
155 draw_rect->width = 0; in empty_rectangle()
174 gtk_window_move (GTK_WINDOW (window), draw_rect.x, draw_rect.y); in select_area_motion_action()
175 gtk_window_resize (GTK_WINDOW (window), draw_rect.width, draw_rect.height); in select_area_motion_action()
183 if (draw_rect.width > 2 && draw_rect.height > 2) in select_area_motion_action()
188 draw_rect.width, draw_rect.height in select_area_motion_action()
213 …g_debug ("... and Drew %d %d for %d, %d\n", draw_rect.x, draw_rect.y, draw_rect.width, draw_rect.h… in select_area_motion_action()
487 if (draw_rect->width > 0 && draw_rect->height > 0) in select_area_motion_notify()
488 …gdk_draw_rectangle (root, gc, FALSE, draw_rect->x, draw_rect->y, draw_rect->width, draw_rect->heig… in select_area_motion_notify()
496 if (draw_rect->width > 0 && draw_rect->height > 0) in select_area_motion_notify()
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgsdps1.c248 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
249 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
260 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
261 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
262 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
263 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
265 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
266 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
267 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
272 w = fixed2int(draw_rect.q.x - draw_rect.p.x); in gs_rectfill()
[all …]
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgsdps1.c248 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
249 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
260 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
261 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
262 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
263 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
265 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
266 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
267 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
272 w = fixed2int(draw_rect.q.x - draw_rect.p.x); in gs_rectfill()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgsdps1.c251 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
252 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
263 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
264 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
265 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
266 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
268 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
269 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
270 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
275 w = fixed2int(draw_rect.q.x - draw_rect.p.x); in gs_rectfill()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgsdps1.c251 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
252 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
263 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
264 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
265 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
266 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
268 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
269 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
270 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
275 w = fixed2int(draw_rect.q.x - draw_rect.p.x); in gs_rectfill()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgsdps1.c232 gs_fixed_rect draw_rect; in gs_rectfill() local
251 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
252 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
263 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
264 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
265 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
266 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
268 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
269 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
270 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgsdps1.c232 gs_fixed_rect draw_rect; in gs_rectfill() local
251 if (draw_rect.p.x <= draw_rect.q.x && in gs_rectfill()
252 draw_rect.p.y <= draw_rect.q.y) { in gs_rectfill()
263 draw_rect.p.x = fixed_rounded(draw_rect.p.x); in gs_rectfill()
264 draw_rect.p.y = fixed_rounded(draw_rect.p.y); in gs_rectfill()
265 draw_rect.q.x = fixed_rounded(draw_rect.q.x); in gs_rectfill()
266 draw_rect.q.y = fixed_rounded(draw_rect.q.y); in gs_rectfill()
268 draw_rect.p.x = fixed_floor(draw_rect.p.x); in gs_rectfill()
269 draw_rect.p.y = fixed_floor(draw_rect.p.y); in gs_rectfill()
270 draw_rect.q.x = fixed_ceiling(draw_rect.q.x); in gs_rectfill()
[all …]
/dports/net/xrdp-devel/xrdp-0.9.16/xrdp/
H A Dxrdp_painter.c654 draw_rect.left, draw_rect.top, in xrdp_painter_fill_rect()
681 draw_rect.left, draw_rect.top, in xrdp_painter_fill_rect()
902 draw_rect.left, draw_rect.top, in xrdp_painter_draw_text()
903 draw_rect.right - draw_rect.left, in xrdp_painter_draw_text()
904 draw_rect.bottom - draw_rect.top); in xrdp_painter_draw_text()
1171 draw_rect.left, draw_rect.top, in xrdp_painter_copy()
1172 draw_rect.right - draw_rect.left, in xrdp_painter_copy()
1173 draw_rect.bottom - draw_rect.top); in xrdp_painter_copy()
1519 draw_rect.left, draw_rect.top, in xrdp_painter_line()
1520 draw_rect.right - draw_rect.left, in xrdp_painter_line()
[all …]
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/xrdp/
H A Dxrdp_painter.c654 draw_rect.left, draw_rect.top, in xrdp_painter_fill_rect()
681 draw_rect.left, draw_rect.top, in xrdp_painter_fill_rect()
902 draw_rect.left, draw_rect.top, in xrdp_painter_draw_text()
903 draw_rect.right - draw_rect.left, in xrdp_painter_draw_text()
904 draw_rect.bottom - draw_rect.top); in xrdp_painter_draw_text()
1171 draw_rect.left, draw_rect.top, in xrdp_painter_copy()
1172 draw_rect.right - draw_rect.left, in xrdp_painter_copy()
1173 draw_rect.bottom - draw_rect.top); in xrdp_painter_copy()
1519 draw_rect.left, draw_rect.top, in xrdp_painter_line()
1520 draw_rect.right - draw_rect.left, in xrdp_painter_line()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/cores/libretro-gong/
H A Dgong.c685 draw_rect(buffer, color, at_x - 2.f, y, .5f, 4.f); in draw_number()
686 draw_rect(buffer, color, at_x + 2.f, y, .5f, 4.f); in draw_number()
703 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
710 draw_rect(buffer, color, at_x + 2.f, y, .5f, 4.f); in draw_number()
712 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
719 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
730 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
738 draw_rect(buffer, color, at_x - 2.f, y, .5f, 4.f); in draw_number()
740 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
758 draw_rect(buffer, color, at_x, y, 2.5f, .5f); in draw_number()
[all …]
/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/ipa/eps/
H A Ddraw.h400 if (TO_FILL (draw_rect)) in wmf_eps_draw_rectangle()
402 bbox.BR = draw_rect->BR; in wmf_eps_draw_rectangle()
407 draw_rect->TL.x,draw_rect->TL.y, in wmf_eps_draw_rectangle()
408 draw_rect->TL.x,draw_rect->BR.y, in wmf_eps_draw_rectangle()
409 draw_rect->BR.x,draw_rect->BR.y, in wmf_eps_draw_rectangle()
410 draw_rect->BR.x,draw_rect->TL.y); in wmf_eps_draw_rectangle()
416 if (TO_DRAW (draw_rect)) in wmf_eps_draw_rectangle()
427 (float) ((double) draw_rect->TL.x / stretch),draw_rect->TL.y, in wmf_eps_draw_rectangle()
428 (float) ((double) draw_rect->TL.x / stretch),draw_rect->BR.y, in wmf_eps_draw_rectangle()
429 (float) ((double) draw_rect->BR.x / stretch),draw_rect->BR.y, in wmf_eps_draw_rectangle()
[all …]
/dports/graphics/libwmf/libwmf-0.2.12/src/ipa/eps/
H A Ddraw.h400 if (TO_FILL (draw_rect)) in wmf_eps_draw_rectangle()
402 bbox.BR = draw_rect->BR; in wmf_eps_draw_rectangle()
407 draw_rect->TL.x,draw_rect->TL.y, in wmf_eps_draw_rectangle()
408 draw_rect->TL.x,draw_rect->BR.y, in wmf_eps_draw_rectangle()
409 draw_rect->BR.x,draw_rect->BR.y, in wmf_eps_draw_rectangle()
410 draw_rect->BR.x,draw_rect->TL.y); in wmf_eps_draw_rectangle()
416 if (TO_DRAW (draw_rect)) in wmf_eps_draw_rectangle()
427 (float) ((double) draw_rect->TL.x / stretch),draw_rect->TL.y, in wmf_eps_draw_rectangle()
428 (float) ((double) draw_rect->TL.x / stretch),draw_rect->BR.y, in wmf_eps_draw_rectangle()
429 (float) ((double) draw_rect->BR.x / stretch),draw_rect->BR.y, in wmf_eps_draw_rectangle()
[all …]
/dports/deskutils/gnome-screenshot/gnome-screenshot-41.0/src/
H A Dscreenshot-area-selection.c55 GdkRectangle draw_rect; in select_area_motion_notify() local
60 draw_rect.width = ABS (data->rect.x - event->x_root); in select_area_motion_notify()
61 draw_rect.height = ABS (data->rect.y - event->y_root); in select_area_motion_notify()
62 draw_rect.x = MIN (data->rect.x, event->x_root); in select_area_motion_notify()
63 draw_rect.y = MIN (data->rect.y, event->y_root); in select_area_motion_notify()
65 if (draw_rect.width <= 0 || draw_rect.height <= 0) in select_area_motion_notify()
72 gtk_window_move (GTK_WINDOW (window), draw_rect.x, draw_rect.y); in select_area_motion_notify()
73 gtk_window_resize (GTK_WINDOW (window), draw_rect.width, draw_rect.height); in select_area_motion_notify()
81 if (draw_rect.width > 2 && draw_rect.height > 2) in select_area_motion_notify()
86 draw_rect.width, draw_rect.height in select_area_motion_notify()
/dports/x11-wm/metacity/metacity-3.42.0/src/core/
H A Deffects.c127 MetaRectangle draw_rect; in effects_draw_box_animation_timeout() local
155 draw_rect = context->start_rect; in effects_draw_box_animation_timeout()
158 draw_rect.x += (context->end_rect.x - context->start_rect.x) * fraction; in effects_draw_box_animation_timeout()
159 draw_rect.y += (context->end_rect.y - context->start_rect.y) * fraction; in effects_draw_box_animation_timeout()
160 draw_rect.width += (context->end_rect.width - context->start_rect.width) * fraction; in effects_draw_box_animation_timeout()
161 draw_rect.height += (context->end_rect.height - context->start_rect.height) * fraction; in effects_draw_box_animation_timeout()
164 if (draw_rect.width < 1) in effects_draw_box_animation_timeout()
165 draw_rect.width = 1; in effects_draw_box_animation_timeout()
166 if (draw_rect.height < 1) in effects_draw_box_animation_timeout()
167 draw_rect.height = 1; in effects_draw_box_animation_timeout()
[all …]
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/gui/widgets/
H A Dmidi_note.c83 GdkRectangle * draw_rect) in draw_midi_note_bg() argument
112 int draw_x = draw_rect->x - arr_rect->x; in draw_midi_note_bg()
114 if (draw_rect->x > full_rect->x) in draw_midi_note_bg()
117 MIN (draw_rect->x - full_rect->x, 4); in draw_midi_note_bg()
120 int draw_width = draw_rect->width; in draw_midi_note_bg()
121 if (draw_rect->x + draw_rect->width < in draw_midi_note_bg()
126 (draw_rect->x + draw_rect->width) - in draw_midi_note_bg()
158 GdkRectangle draw_rect; in midi_note_draw() local
161 obj, arr_rect, &full_rect, &draw_rect); in midi_note_draw()
170 &full_rect, &draw_rect); in midi_note_draw()
H A Dregion.c113 GdkRectangle * draw_rect)
139 GdkRectangle * draw_rect, in preroll_count_selector_widget_new()
282 GdkRectangle * draw_rect,
384 GdkRectangle * draw_rect,
590 GdkRectangle * draw_rect,
752 GdkRectangle * draw_rect,
1658 GdkRectangle draw_rect;
1727 &draw_rect, i);
1884 &draw_rect, i);
1888 &draw_rect, i);
[all …]
H A Darranger_object.c109 GdkRectangle draw_rect; in arranger_object_queue_redraw() local
113 &draw_rect); in arranger_object_queue_redraw()
156 &draw_rect); in arranger_object_queue_redraw()
1051 draw_rect->x = in arranger_object_get_draw_rectangle()
1053 draw_rect->width = in arranger_object_get_draw_rectangle()
1056 draw_rect->x, in arranger_object_get_draw_rectangle()
1058 draw_rect->x); in arranger_object_get_draw_rectangle()
1060 draw_rect->y = in arranger_object_get_draw_rectangle()
1062 draw_rect->height = in arranger_object_get_draw_rectangle()
1065 draw_rect->y, in arranger_object_get_draw_rectangle()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_info/
H A Dtextview.c55 const rcti *draw_rect; member
224 float hpadding = tds->draw_rect->xmin - (bg_size * 1.2f); in textview_draw_string()
239 int hpadding = tds->draw_rect->xmin - (UI_DPI_ICON_SIZE * 1.3f); in textview_draw_string()
318 const int x_orig = tvc->draw_rect.xmin, y_orig = tvc->draw_rect.ymin; in textview_draw()
336 CLAMPIS(mval_init[0], tvc->draw_rect.xmin, tvc->draw_rect.xmax) - tvc->draw_rect.xmin, in textview_draw()
339 CLAMPIS(mval_init[1], tvc->draw_rect.ymin, tvc->draw_rect.ymax) + tvc->scroll_ymin, in textview_draw()
354 tds.columns = (tvc->draw_rect.xmax - tvc->draw_rect.xmin) / tds.cwidth; in textview_draw()
359 tds.draw_rect = &tvc->draw_rect; in textview_draw()
/dports/x11-toolkits/ntk/ntk/src/
H A DVector_Theme.cxx90 static void draw_rect(int x, int y, int w, int h, Fl_Color bc, double radius = 3 ) in draw_rect() function
113 draw_rect( x+1, y+1, w-2, h-2, border_color( bc ) ); in up_box()
114 draw_rect( x, y, w, h, outer_border_color( bc ) ); in up_box()
120 draw_rect( x+1,y+1,w-2,h-2, border_color(bc) ); in up_frame()
121 draw_rect( x, y, w, h, outer_border_color( bc ) ); in up_frame()
127 draw_rect( x+1,y+1,w-2,h-2, bc ); in down_frame()
128 draw_rect( x, y, w, h, outer_border_color( bc ) ); in down_frame()
138 draw_rect( x+1, y+1, w-2, h-2, bc ); in down_box()
139 draw_rect( x, y, w, h, outer_border_color( bc ) ); in down_box()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/
H A Dfake_content_layer_client.cc45 const gfx::RectF& draw_rect = it->first; in PaintContentsToDisplayList() local
49 display_list->push<DrawRectOp>(gfx::RectFToSkRect(draw_rect), flags); in PaintContentsToDisplayList()
50 display_list->EndPaintOfUnpaired(ToEnclosingRect(draw_rect)); in PaintContentsToDisplayList()
93 gfx::Rect draw_rect = PaintableRegion(); in PaintContentsToDisplayList() local
98 while (!draw_rect.IsEmpty()) { in PaintContentsToDisplayList()
99 display_list->push<DrawIRectOp>(gfx::RectToSkIRect(draw_rect), flags); in PaintContentsToDisplayList()
100 draw_rect.Inset(1, 1); in PaintContentsToDisplayList()
/dports/math/gnumeric/gnumeric-1.12.50/src/widgets/
H A Dgnm-cell-renderer-toggle.c239 GdkRectangle draw_rect; in gnumeric_cell_renderer_toggle_render() local
260 if (gdk_rectangle_intersect (cell_area, &pix_rect, &draw_rect)) { in gnumeric_cell_renderer_toggle_render()
262 draw_rect.x, draw_rect.y); in gnumeric_cell_renderer_toggle_render()
263 cairo_rectangle (cr, draw_rect.x, draw_rect.y, draw_rect.width, draw_rect.height); in gnumeric_cell_renderer_toggle_render()

12345678910>>...37