/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/NT/ |
H A D | xinit.c | 74 unsigned top_width, top_height; variable 369 top_width = w; in Init_top() 372 top_width = DEF_TOP_WIDTH; in Init_top() 375 LIMIT(top_width, MIN_TOP_WIDTH, MAX_TOP_WIDTH); in Init_top() 429 top_width, top_height, in Init_top() 443 top_width, top_height, in Init_top() 454 WinXParseGeometry(geometry, &top_width, &top_height); in Init_top() 482 draw_width = top_width - (256 + 2); in Init_playing_windows() 697 top_width = width; in Resize() 703 draw_width = top_width - 258; in Resize() [all …]
|
H A D | xevent.c | 107 draw_width = top_width; in Toggle_radar_and_scorelist() 129 Resize(topWindow, top_width, top_height); in Toggle_radar_and_scorelist() 139 draw_width = top_width - (258); in Toggle_radar_and_scorelist()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/image-0.20.1/src/imageops/ |
H A D | mod.rs | 49 let (top_width, top_height) = top.dimensions(); in overlay() 53 let range_width = if x + top_width > bottom_width { in overlay() 56 top_width in overlay() 78 let (top_width, top_height) = top.dimensions(); in replace() 82 let range_width = if x + top_width > bottom_width { in replace() 85 top_width in replace()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/x11/ |
H A D | xinit.c | 72 unsigned top_width, top_height; variable 346 top_width = w; in Init_top() 349 top_width = DEF_TOP_WIDTH; in Init_top() 352 LIMIT(top_width, MIN_TOP_WIDTH, MAX_TOP_WIDTH); in Init_top() 406 top_width, top_height, in Init_top() 413 Init_disp_prop(dpy, topWindow, top_width, top_height, in Init_top() 420 top_width, top_height, in Init_top() 521 draw_width = top_width - (256 + 2); in Init_playing_windows() 712 top_width = width; in Resize() 718 draw_width = top_width - 258; in Resize() [all …]
|
H A D | xevent.c | 113 draw_width = top_width; in Toggle_radar_and_scorelist() 135 Resize(topWindow, top_width, top_height); in Toggle_radar_and_scorelist() 145 draw_width = top_width - (258); in Toggle_radar_and_scorelist()
|
/dports/games/d2x/d2x-0.2.5/3d/ |
H A D | rod.c | 54 int calc_rod_corners(g3s_point *bot_point,fix bot_width,g3s_point *top_point,fix top_width) in calc_rod_corners() argument 92 vm_vec_copy_scale(&tempv,&rod_norm,top_width); in calc_rod_corners() 123 bool g3_draw_rod_flat(g3s_point *bot_point,fix bot_width,g3s_point *top_point,fix top_width) in g3_draw_rod_flat() argument 125 if (calc_rod_corners(bot_point,bot_width,top_point,top_width)) in g3_draw_rod_flat() 134 …grs_bitmap *bitmap,g3s_point *bot_point,fix bot_width,g3s_point *top_point,fix top_width,fix light) in g3_draw_rod_tmap() argument 136 if (calc_rod_corners(bot_point,bot_width,top_point,top_width)) in g3_draw_rod_tmap()
|
/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/gui/ |
H A D | menu_window.cpp | 158 float top_width = _skin->borders[2][1].GetWidth(); in _RecreateImage() local 179 float num_x_tiles = _inner_width / top_width; in _RecreateImage() 192 float width_adjust = (1.0f - dnum_x_tiles) * top_width; in _RecreateImage() 199 float height_adjust = (1.0f - dnum_y_tiles) * top_width; in _RecreateImage() 258 float max_x = left_border_size + inum_x_tiles * top_width; in _RecreateImage() 334 … _menu_image.AddImage(_skin->borders[0][1], left_border_size + top_width * tile_x, max_y); in _RecreateImage() 336 … _menu_image.AddImage(_skin->borders[1][1], left_border_size + top_width * tile_x, max_y); in _RecreateImage() 339 _menu_image.AddImage(_skin->borders[2][1], left_border_size + top_width * tile_x, 0.0f); in _RecreateImage() 341 _menu_image.AddImage(_skin->borders[1][1], left_border_size + top_width * tile_x, 0.0f); in _RecreateImage()
|
/dports/games/xpilot/xpilot-4.5.5/src/client/ |
H A D | xinit.c | 113 int top_width, top_height, top_x, top_y, top_posmask; variable 519 top_width = w; in Init_top() 522 top_width = DEF_TOP_WIDTH; in Init_top() 525 LIMIT(top_width, MIN_TOP_WIDTH, MAX_TOP_WIDTH); in Init_top() 581 top_width, top_height, in Init_top() 594 top_width, top_height, in Init_top() 608 top_width = rect.width; in Init_top() 734 draw_width = top_width - (256 + 2); in Init_playing_windows() 1059 if (width == top_width && height == top_height) { in Resize() 1062 top_width = width; in Resize() [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/examples/render/ |
H A D | render_forms.py | 49 def create_gear(filename, teeth=20, outside_radius=10, top_width=2, bottom_width=3, height=2): argument 55 top_width=top_width,
|
/dports/games/allacrost/allacrost-1.0.2/src/common/gui/ |
H A D | menu_window.cpp | 346 float top_width = _skin->borders[2][1].GetWidth(); in _RecreateImage() local 367 float num_x_tiles = _inner_width / top_width; in _RecreateImage() 380 float width_adjust = (1.0f - dnum_x_tiles) * top_width; in _RecreateImage() 387 float height_adjust = (1.0f - dnum_y_tiles) * top_width; in _RecreateImage() 448 float max_x = left_border_size + inum_x_tiles * top_width; in _RecreateImage() 528 _menu_image.AddImage(_skin->borders[0][1], left_border_size + top_width * tile_x, max_y); in _RecreateImage() 530 _menu_image.AddImage(_skin->borders[1][1], left_border_size + top_width * tile_x, max_y); in _RecreateImage() 533 _menu_image.AddImage(_skin->borders[2][1], left_border_size + top_width * tile_x, 0.0f); in _RecreateImage() 535 _menu_image.AddImage(_skin->borders[1][1], left_border_size + top_width * tile_x, 0.0f); in _RecreateImage()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/3d/ |
H A D | rod.cpp | 34 …rod_point_group, const g3s_point &bot_point,fix bot_width,const g3s_point &top_point,fix top_width) in calc_rod_corners() argument 68 auto tempv = vm_vec_copy_scale(rod_norm,top_width); in calc_rod_corners() 102 …nst g3s_point &bot_point, fix bot_width, const g3s_point &top_point, fix top_width, g3s_lrgb light) in g3_draw_rod_tmap() argument 105 if (calc_rod_corners(rod,bot_point,bot_width,top_point,top_width)) in g3_draw_rod_tmap()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/geometry/ |
H A D | float_rounded_rect.cc | 93 void FloatRoundedRect::Radii::Shrink(float top_width, in Shrink() argument 97 DCHECK_GE(top_width, 0); in Shrink() 103 top_left_.SetHeight(std::max<float>(0, top_left_.Height() - top_width)); in Shrink() 106 top_right_.SetHeight(std::max<float>(0, top_right_.Height() - top_width)); in Shrink() 118 void FloatRoundedRect::Radii::Expand(float top_width, in Expand() argument 122 DCHECK_GE(top_width, 0); in Expand() 128 top_left_.SetHeight(top_left_.Height() + top_width); in Expand() 132 top_right_.SetHeight(top_right_.Height() + top_width); in Expand()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/geometry/ |
H A D | float_rounded_rect.cc | 93 void FloatRoundedRect::Radii::Shrink(float top_width, in Shrink() argument 97 DCHECK_GE(top_width, 0); in Shrink() 103 top_left_.SetHeight(std::max<float>(0, top_left_.Height() - top_width)); in Shrink() 106 top_right_.SetHeight(std::max<float>(0, top_right_.Height() - top_width)); in Shrink() 118 void FloatRoundedRect::Radii::Expand(float top_width, in Expand() argument 122 DCHECK_GE(top_width, 0); in Expand() 128 top_left_.SetHeight(top_left_.Height() + top_width); in Expand() 132 top_right_.SetHeight(top_right_.Height() + top_width); in Expand()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/ |
H A D | rounded_border_geometry.cc | 81 int top_width = style.BorderTopWidth(); in RoundedInnerBorder() local 84 LayoutRectOutsets insets(-top_width, -right_width, -bottom_width, in RoundedInnerBorder() 111 int top_width = sides_to_include.top ? floorf(style.BorderTopWidth()) : 0; in PixelSnappedRoundedInnerBorder() local 117 LayoutRectOutsets(-top_width, -right_width, -bottom_width, -left_width), in PixelSnappedRoundedInnerBorder()
|
/dports/x11/bitmap/bitmap-1.0.9/ |
H A D | Dialog.c | 143 Dimension popup_width, popup_height, top_width, top_height, border_width; in PopupDialog() local 157 XtSetArg(wargs[n], XtNwidth, &top_width); n++; in PopupDialog() 168 min(top_x + ((Position)top_width - (Position)popup_width) / 2, in PopupDialog() 188 0, 0, top_width, top_height, in PopupDialog()
|
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/layers/ |
H A D | accum_layer.cpp | 21 top_width = params.get<int>("top_width", 0); in AccumLayerImpl() 68 int out_w = divisor ? static_cast<int>(ceil(maxwidth / divisor) * divisor) : top_width; in getMemoryShapes() 130 int top_width; member in cv::dnn::CV_FINAL
|
/dports/multimedia/vlc/vlc-3.0.16/modules/video_output/wayland/ |
H A D | shell.c | 46 uint32_t top_width; member 111 sys->top_width = width; in Control() 138 vout_window_ReportSize(wnd, sys->top_width, sys->top_height); in Control() 217 sys->top_width = width; in shell_surface_configure_cb() 294 sys->top_width = cfg->width; in Open()
|
/dports/x11/libsx/libsx/src/ |
H A D | Dialog.c | 110 Dimension popup_width, popup_height, top_width, top_height, border_width; in PositionPopup() local 115 XtSetArg(wargs[n], XtNwidth, &top_width); n++; in PositionPopup() 126 min(top_x + ((Position)top_width - (Position)popup_width) / 2, in PositionPopup()
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/path/ |
H A D | shapes.py | 188 def gear(count: int, top_width: float, bottom_width: float, height: float, 208 vertices = forms.gear(count, top_width, bottom_width, height,
|
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/ |
H A D | framewin.c | 136 height = fwin->core->height - fwin->top_width - fwin->bottom_width; in wFrameWindowUpdateBorders() 162 fwin->top_width = theight; in wFrameWindowUpdateBorders() 225 fwin->top_width = 0; in wFrameWindowUpdateBorders() 231 fwin->top_width = theight; in wFrameWindowUpdateBorders() 340 height + fwin->top_width, width, RESIZEBAR_HEIGHT); in wFrameWindowUpdateBorders() 353 if (height + fwin->top_width + fwin->bottom_width != fwin->core->height) in wFrameWindowUpdateBorders() 354 wCoreConfigure(fwin->resizebar, 0, height + fwin->top_width, in wFrameWindowUpdateBorders() 1127 if (width < fwin->top_width * k && !fwin->flags.lbutton_dont_fit) { in reconfigure() 1132 } else if (width >= fwin->top_width * k && fwin->flags.lbutton_dont_fit) { in reconfigure() 1141 if (width < fwin->top_width * k && !fwin->flags.languagebutton_dont_fit) { in reconfigure() [all …]
|
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/ |
H A D | framewin.c | 136 height = fwin->core->height - fwin->top_width - fwin->bottom_width; in wFrameWindowUpdateBorders() 162 fwin->top_width = theight; in wFrameWindowUpdateBorders() 225 fwin->top_width = 0; in wFrameWindowUpdateBorders() 231 fwin->top_width = theight; in wFrameWindowUpdateBorders() 340 height + fwin->top_width, width, RESIZEBAR_HEIGHT); in wFrameWindowUpdateBorders() 353 if (height + fwin->top_width + fwin->bottom_width != fwin->core->height) in wFrameWindowUpdateBorders() 354 wCoreConfigure(fwin->resizebar, 0, height + fwin->top_width, in wFrameWindowUpdateBorders() 1127 if (width < fwin->top_width * k && !fwin->flags.lbutton_dont_fit) { in reconfigure() 1132 } else if (width >= fwin->top_width * k && fwin->flags.lbutton_dont_fit) { in reconfigure() 1141 if (width < fwin->top_width * k && !fwin->flags.languagebutton_dont_fit) { in reconfigure() [all …]
|
/dports/games/d2x/d2x-0.2.5/include/ |
H A D | 3d.h | 320 bool g3_draw_rod_flat(g3s_point *bot_point,fix bot_width,g3s_point *top_point,fix top_width); 324 …rs_bitmap *bitmap,g3s_point *bot_point,fix bot_width,g3s_point *top_point,fix top_width,fix light);
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/gas/config/ |
H A D | tc-tahoe.c | 46 char top_width; /* Operand width expected, one of "bwlq?-:!" */ 1025 char width = topP->top_width; 1556 operandp->top_width = p[1]; 1687 switch (operandP->top_width) 1724 operandP->top_width); 1739 switch (operandP->top_width) 1821 operandP->top_width);
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/gas/config/ |
H A D | tc-tahoe.c | 46 char top_width; /* Operand width expected, one of "bwlq?-:!" */ member 1025 char width = topP->top_width; 1556 operandp->top_width = p[1]; 1687 switch (operandP->top_width) 1724 operandP->top_width); 1739 switch (operandP->top_width) 1821 operandP->top_width);
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/gas/config/ |
H A D | tc-tahoe.c | 46 char top_width; /* Operand width expected, one of "bwlq?-:!" */ member 1025 char width = topP->top_width; 1556 operandp->top_width = p[1]; 1687 switch (operandP->top_width) 1724 operandP->top_width); 1739 switch (operandP->top_width) 1821 operandP->top_width);
|