Home
last modified time | relevance | path

Searched refs:shadow_width (Results 1 – 25 of 203) sorted by relevance

123456789

/dports/x11-toolkits/libdecor/libdecor-3ec3fadd59a21835079fbb3046d2bec6c649d6fa/src/plugins/cairo/
H A Dlibdecor-cairo-blur.c166 shadow_width = margin; in render_shadow()
179 if (width < 2 * shadow_width) in render_shadow()
186 shadow_width, shadow_height); in render_shadow()
192 shadow_width = width - 2 * margin; in render_shadow()
208 shadow_width, shadow_height); in render_shadow()
218 shadow_width, margin); in render_shadow()
223 shadow_width = margin; in render_shadow()
224 if (width < 2 * shadow_width) in render_shadow()
225 shadow_width = width / 2; in render_shadow()
239 shadow_width, shadow_height); in render_shadow()
[all …]
/dports/graphics/akira/Akira-0.0.16/src/Utils/
H A DColorPicker.vala48 int shadow_width = 15;
168 base_context.arc (radius + shadow_width, radius + shadow_width, radius, 0, 2 * Math.PI);
186 radius + shadow_width, radius + shadow_width,
191 shadow_color.alpha = shadow_alpha / ((shadow_width - i + 1) * (shadow_width - i + 1));
199 base_context.arc (radius + shadow_width, radius + shadow_width, radius - 1, 0, 2 * Math.PI);
207 base_context.move_to (radius + shadow_width - zoomlevel, radius + shadow_width - zoomlevel);
208 base_context.line_to (radius + shadow_width + zoomlevel, radius + shadow_width - zoomlevel);
209 base_context.line_to (radius + shadow_width + zoomlevel, radius + shadow_width + zoomlevel);
210 base_context.line_to (radius + shadow_width - zoomlevel, radius + shadow_width + zoomlevel);
215 …base_context.move_to (radius + shadow_width - zoomlevel + 1, radius + shadow_width - zoomlevel + 1…
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkpopover.c445 GtkBorder shadow_width; in create_popup_layout() local
1378 (shadow_width.left + shadow_width.right); in gtk_popover_update_shape()
1381 (shadow_width.top + shadow_width.bottom); in gtk_popover_update_shape()
1458 *minimum += shadow_width.left + shadow_width.right; in gtk_popover_measure()
1459 *natural += shadow_width.left + shadow_width.right; in gtk_popover_measure()
1463 *minimum += shadow_width.top + shadow_width.bottom; in gtk_popover_measure()
1464 *natural += shadow_width.top + shadow_width.bottom; in gtk_popover_measure()
1495 child_alloc.width = width - (shadow_width.left + shadow_width.right); in gtk_popover_size_allocate()
1501 child_alloc.width = width - (shadow_width.left + shadow_width.right); in gtk_popover_size_allocate()
1508 child_alloc.height = height - (shadow_width.top + shadow_width.bottom); in gtk_popover_size_allocate()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/driver/
H A Dlock.c156 Dimension shadow_width; member
355 if (pw->shadow_width == 0) pw->shadow_width = 4; in new_passwd_window()
853 pw->shadow_width, in draw_passwd_window()
861 pw->shadow_width, in draw_passwd_window()
972 pw->shadow_width * 4, in draw_passwd_window()
973 pw->shadow_width * 4, in draw_passwd_window()
976 pw->shadow_width, in draw_passwd_window()
983 pw->shadow_width * 4, in draw_passwd_window()
986 pw->shadow_width, in draw_passwd_window()
1017 int shadow_width, in draw_button() argument
[all …]
H A Dsplash.c154 Dimension shadow_width; member
315 if (sp->shadow_width == 0) sp->shadow_width = 4; in make_splash_dialog()
500 - (4 * sp->shadow_width) in draw_splash_window()
511 x3 = sp->width - (sp->shadow_width * 2); in draw_splash_window()
618 x1 = sp->shadow_width * 6; in draw_splash_window()
619 y1 = sp->shadow_width * 6; in draw_splash_window()
655 sp->shadow_width * 4, in draw_splash_window()
656 sp->shadow_width * 4, in draw_splash_window()
657 sp->logo_width - (sp->shadow_width * 8), in draw_splash_window()
658 sp->logo_height - (sp->shadow_width * 8), in draw_splash_window()
[all …]
/dports/graphics/weston/weston-1.9.0/shared/
H A Dcairo-util.c171 shadow_width = margin; in render_shadow()
184 if (width < 2 * shadow_width) in render_shadow()
191 shadow_width, shadow_height); in render_shadow()
197 shadow_width = width - 2 * margin; in render_shadow()
213 shadow_width, shadow_height); in render_shadow()
223 shadow_width, margin); in render_shadow()
228 shadow_width = margin; in render_shadow()
229 if (width < 2 * shadow_width) in render_shadow()
230 shadow_width = width / 2; in render_shadow()
244 shadow_width, shadow_height); in render_shadow()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/shared/
H A Dcairo-util.c175 shadow_width = margin; in render_shadow()
188 if (width < 2 * shadow_width) in render_shadow()
195 shadow_width, shadow_height); in render_shadow()
201 shadow_width = width - 2 * margin; in render_shadow()
217 shadow_width, shadow_height); in render_shadow()
227 shadow_width, margin); in render_shadow()
232 shadow_width = margin; in render_shadow()
233 if (width < 2 * shadow_width) in render_shadow()
234 shadow_width = width / 2; in render_shadow()
248 shadow_width, shadow_height); in render_shadow()
[all …]
/dports/x11/virtboard/virtboard-1d30b07870bf6138395d6529ab496e321b8b3938/shared/
H A Dcairo-util.c175 shadow_width = margin; in render_shadow()
188 if (width < 2 * shadow_width) in render_shadow()
195 shadow_width, shadow_height); in render_shadow()
201 shadow_width = width - 2 * margin; in render_shadow()
217 shadow_width, shadow_height); in render_shadow()
227 shadow_width, margin); in render_shadow()
232 shadow_width = margin; in render_shadow()
233 if (width < 2 * shadow_width) in render_shadow()
234 shadow_width = width / 2; in render_shadow()
248 shadow_width, shadow_height); in render_shadow()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/shared/
H A Dcairo-util.c175 shadow_width = margin; in render_shadow()
188 if (width < 2 * shadow_width) in render_shadow()
195 shadow_width, shadow_height); in render_shadow()
201 shadow_width = width - 2 * margin; in render_shadow()
217 shadow_width, shadow_height); in render_shadow()
227 shadow_width, margin); in render_shadow()
232 shadow_width = margin; in render_shadow()
233 if (width < 2 * shadow_width) in render_shadow()
234 shadow_width = width / 2; in render_shadow()
248 shadow_width, shadow_height); in render_shadow()
[all …]
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/amenadiel/jpgraph/src/graph/
H A DMGraph.php56 private $shadow_width = 4; variable in Amenadiel\\JpGraph\\Graph\\MGraph
172 $cw -= $this->shadow_width;
173 $ch -= $this->shadow_width;
243 $this->shadow_width = $aShadowWidth;
262 $indent = $this->shadow_width + 2;
277 $indent = $this->shadow_width + 2;
292 $indent = $this->shadow_width + 2;
324 $w += $this->shadow_width;
325 $h += $this->shadow_width;
334 $w -= $this->shadow_width;
[all …]
/dports/sysutils/loganalyzer/loganalyzer-4.1.12/src/classes/jpgraph/
H A Djpgraph_mgraph.php33 private $doshadow=false, $shadow_width=4, $shadow_color='gray@0.5'; variable in MGraph
143 $cw -= $this->shadow_width;
144 $ch -= $this->shadow_width;
207 $this->shadow_width = $aShadowWidth;
228 $indent = $this->shadow_width+2;
245 $indent = $this->shadow_width+2;
262 $indent = $this->shadow_width+2;
288 $w += $this->shadow_width;
289 $h += $this->shadow_width;
298 $w -= $this->shadow_width;
[all …]
/dports/news/knews/knews-1.0b.1/Widgets/
H A DStringG.c27 offset(shadow_width), XtRImmediate, (XtPointer)2},
92 g->string_g.right_margin + 2 * g->string_g.shadow_width; in set_preferred_size()
98 2 * (g->string_g.internal_height + g->string_g.shadow_width) + in set_preferred_size()
155 g->string_g.shadow_width, in Redisplay()
162 int old_sw = parent->shadow.shadow_width; in Redisplay()
164 parent->shadow.shadow_width = g->string_g.shadow_width; in Redisplay()
167 parent->shadow.shadow_width = old_sw; in Redisplay()
H A DSeparatorG.c20 offset(shadow_width), XtRImmediate, (XtPointer)1},
96 sw = g->separator_g.shadow_width; in Redisplay()
101 old_sw = parent->shadow.shadow_width; in Redisplay()
102 parent->shadow.shadow_width = sw; in Redisplay()
104 parent->shadow.shadow_width = old_sw; in Redisplay()
H A DKnapp.c206 w->core.width - (w->shadow.shadow_width + in compute_label_x()
211 w->knapp.label_x = w->shadow.shadow_width + w->knapp.left_margin; in compute_label_x()
318 new->knapp.max_width + 2 * new->shadow.shadow_width + in Initialize()
323 2 * (new->shadow.shadow_width + new->knapp.internal_height) + in Initialize()
350 int sw = w->shadow.shadow_width; in Redisplay()
387 if (new->shadow.shadow_width != current->shadow.shadow_width || in SetValues()
404 new->knapp.max_width + 2 * new->shadow.shadow_width + in SetValues()
407 2 * (new->shadow.shadow_width + in SetValues()
438 2 * (w->shadow.shadow_width + w->knapp.internal_height); in QueryGeometry()
472 width = w->knapp.max_width + 2 * w->shadow.shadow_width + in KnappSetLabel()
[all …]
/dports/audio/xmixer/xmixer/Xw/
H A DBase.c47 offset(base.shadow_width), XtRImmediate, (XtPointer)2 },
231 (bw->base.shadow_width != new->base.shadow_width)) { in SetValues()
279 __FILE__, w->core.name, bw->base.shadow_width, bw->base.shadow_type); in Redisplay()
285 if (bw->base.shadow_width < 1) in Redisplay()
300 for (i = 0; i < bw->base.shadow_width; i++) { in Redisplay()
301 if (i < bw->base.shadow_width -1) { in Redisplay()
333 for (i = 0; i < bw->base.shadow_width; i++) { in Redisplay()
334 if (!i && bw->base.shadow_width > 1) { in Redisplay()
349 if ((i < bw->base.shadow_width - 1) ||bw->base.shadow_width<2) { in Redisplay()
361 int half = bw->base.shadow_width /2; in Redisplay()
[all …]
/dports/games/scorched3d/scorched/src/client/GLEXT/
H A DGLFont2dFreeType.cpp135 int shadow_width = bitmap_width + 4; in createCharacter() local
138 shadow_width * shadow_rows]; in createCharacter()
139 memset(shadow_buffer, 0, shadow_width * shadow_rows); in createCharacter()
143 for(int i=2; i< shadow_width-2; i++) in createCharacter()
155 unsigned char &shadowValue = shadow_buffer[si + shadow_width*sj]; in createCharacter()
165 bitmap_width = shadow_width; in createCharacter()
/dports/audio/fossmixer/detroit-0.2.3/engine/tools/
H A Dwidgettool.c53 uint32_t shadow_width, shadow_height; in widget_pack() local
66 shadow_width = (uint32_t) strtol((const char *) s_w, NULL, 0); in widget_pack()
75 if(shadow_width == 0 || shadow_height == 0) s = IS_NO; in widget_pack()
106 if(s == IS_YES && shadow_width != (uint32_t) b->w) { in widget_pack()
110 shadow_width, b->w in widget_pack()
166 h.shadow_width = endian_be_uint32(shadow_width); in widget_pack()
/dports/x11-toolkits/gtkextra/gtkextra-3.3.4/gtkextra/
H A Dgtkplotcanvasrectangle.c112 g_value_set_int(value, rectangle->shadow_width); in gtk_plot_canvas_rectangle_get_property()
139 rectangle->shadow_width = g_value_get_int(value); in gtk_plot_canvas_rectangle_set_property()
176 rectangle->shadow_width = 3; in gtk_plot_canvas_rectangle_init()
287 child->allocation.x + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
289 width, roundint(rectangle->shadow_width * m)); in gtk_plot_canvas_rectangle_draw()
293 child->allocation.y + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
294 roundint(rectangle->shadow_width * m), height); } in gtk_plot_canvas_rectangle_draw()
/dports/x11-toolkits/Xaw3d/xc/lib/Xaw3d/
H A DCommand.c228 cbw->threeD.shadow_width = 0;
231 cbw->command.shadow_width = cbw->threeD.shadow_width;
249 Dimension s = cbw->threeD.shadow_width;
439 Dimension s = cbw->threeD.shadow_width;
552 if (cbw->threeD.shadow_width != oldcbw->threeD.shadow_width) {
553 cbw->command.shadow_width = cbw->threeD.shadow_width;
567 cbw->threeD.shadow_width = 0;
572 cbw->threeD.shadow_width =
573 (cbw->command.shadow_width) ? cbw->command.shadow_width : 2;
/dports/databases/pspg/pspg-5.3.4/src/
H A Dst_menu_styles.c139 config->shadow_width = 0; in st_menu_load_style_rgb()
178 config->shadow_width = 2; in st_menu_load_style_rgb()
221 config->shadow_width = 2; in st_menu_load_style_rgb()
266 config->shadow_width = 2; in st_menu_load_style_rgb()
305 config->shadow_width = 2; in st_menu_load_style_rgb()
346 config->shadow_width = 2; in st_menu_load_style_rgb()
389 config->shadow_width = 2; in st_menu_load_style_rgb()
428 config->shadow_width = 2; in st_menu_load_style_rgb()
466 config->shadow_width = 0; in st_menu_load_style_rgb()
506 config->shadow_width = 0; in st_menu_load_style_rgb()
[all …]
/dports/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2h/src/
H A DCommand.c97 offset(threeD.shadow_width), XtRImmediate, (XtPointer) 2},
236 cbw->threeD.shadow_width = 0; in Initialize()
239 cbw->command.shadow_width = cbw->threeD.shadow_width; in Initialize()
256 Dimension s = cbw->threeD.shadow_width; in HighlightRegion()
415 Dimension s = cbw->threeD.shadow_width; in PaintCommandWidget()
545 if (cbw->threeD.shadow_width != oldcbw->threeD.shadow_width) { in SetValues()
546 cbw->command.shadow_width = cbw->threeD.shadow_width; in SetValues()
560 cbw->threeD.shadow_width = 0; in SetValues()
565 cbw->threeD.shadow_width = in SetValues()
566 (cbw->command.shadow_width) ? cbw->command.shadow_width : 2; in SetValues()
/dports/deskutils/genius/genius-1.0.27/gtkextra/
H A Dgtkplotcanvasrectangle.c111 g_value_set_int(value, rectangle->shadow_width); in gtk_plot_canvas_rectangle_get_property()
140 rectangle->shadow_width = g_value_get_int(value); in gtk_plot_canvas_rectangle_set_property()
179 rectangle->shadow_width = 3; in gtk_plot_canvas_rectangle_init()
290 child->allocation.x + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
292 width, roundint(rectangle->shadow_width * m)); in gtk_plot_canvas_rectangle_draw()
296 child->allocation.y + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
297 roundint(rectangle->shadow_width * m), height); } in gtk_plot_canvas_rectangle_draw()
/dports/x11-toolkits/gtkada/gtkada-2.24.4.0/src/gtkextra/
H A Dgtkplotcanvasrectangle.c109 g_value_set_int(value, rectangle->shadow_width); in gtk_plot_canvas_rectangle_get_property()
136 rectangle->shadow_width = g_value_get_int(value); in gtk_plot_canvas_rectangle_set_property()
173 rectangle->shadow_width = 3; in gtk_plot_canvas_rectangle_init()
254 child->allocation.x + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
256 width, roundint(rectangle->shadow_width * m)); in gtk_plot_canvas_rectangle_draw()
260 child->allocation.y + roundint(rectangle->shadow_width * m), in gtk_plot_canvas_rectangle_draw()
261 roundint(rectangle->shadow_width * m), height); } in gtk_plot_canvas_rectangle_draw()
/dports/x11/xstroke/xstroke-0.5.12/
H A Dbrush.c55 brush->shadow_width = brush_shadow.width; in brush_init()
84 brush->shadow_width, in brush_init()
136 brush->shadow_width, brush->shadow_height, in brush_init()
137 32, brush->shadow_width * 4); in brush_init()
139 0, 0, 0, 0, brush->shadow_width, brush->shadow_height); in brush_init()
160 brush->shadow_width, brush->shadow_height); in brush_draw()
/dports/games/chroma/chroma-1.20/
H A Dsdlshadowdisplay.c292 srect.w = pdisplaygraphics->shadow_width[p][9]; in displayshadowed_pieceshadow()
300 if(pimage->w > pdisplaygraphics->shadow_width[p][9]) in displayshadowed_pieceshadow()
305 srect.x = pdisplaygraphics->shadow_width[p][9]; in displayshadowed_pieceshadow()
502 srect.w = pdisplaygraphics->shadow_width[p][pshadow->shadow]; in displayshadowed_piecebase()
507 drect.w = pdisplaygraphics->shadow_width[p][pshadow->shadow]; in displayshadowed_piecebase()
511 if(pimage->w > pdisplaygraphics->shadow_width[p][9]) in displayshadowed_piecebase()
517 srect.x += pdisplaygraphics->shadow_width[p][9]; in displayshadowed_piecebase()
533 bsrect.w = pdisplaygraphics->shadow_width[p][9] / 2; in displayshadowed_piecebase()
592 bsrect.x = pdisplaygraphics->shadow_width[p][9] / 2; in displayshadowed_piecebase()
594 bsrect.w = pdisplaygraphics->shadow_width[p][9] / 2; in displayshadowed_piecebase()
[all …]

123456789