Home
last modified time | relevance | path

Searched refs:base_height (Results 1 – 25 of 1313) sorted by relevance

12345678910>>...53

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DMapHelpers.cpp40 highest = surfaceElement->base_height; in map_smooth()
45 if (surfaceElement->base_height < highest - 2) in map_smooth()
57 highest = surfaceElement->base_height; in map_smooth()
150 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
154 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
158 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
162 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
167 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
171 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
175 … if (surfaceElement2 != nullptr && surfaceElement2->base_height > surfaceElement->base_height) in map_smooth()
[all …]
H A DMapAnimation.cpp99 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_ride_entrance()
136 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_queue_banner()
169 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_small_scenery()
234 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_park_entrance()
264 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_track_waterfall()
293 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_track_rapids()
322 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_track_onridephoto()
361 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_track_whirlpool()
390 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_track_spinningtunnel()
428 if (tileElement->base_height != tileLoc.z) in map_animation_invalidate_banner()
[all …]
H A DMap.cpp158 el.base_height = 14; in GetDefaultSurfaceElement()
401 if (element->base_height != loc.z) in map_get_path_element_at()
437 element->base_height = 14; in map_init()
1007 int32_t z = surfaceElement->base_height; in tile_element_get_corner_height()
1062 uint8_t base_height = surfaceElement->base_height; in map_get_highest_land_height() local
1064 base_height += 2; in map_get_highest_land_height()
1066 base_height += 2; in map_get_highest_land_height()
1067 if (max_height < base_height) in map_get_highest_land_height()
1443 auto z = sourceTile.base_height; in map_extend_boundary_surface_extend_tile()
1468 destTile.base_height = z; in map_extend_boundary_surface_extend_tile()
[all …]
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/
H A DWindowState.cc117 base_height = sizehint.base_height; in reset()
120 min_height = base_height; in reset()
123 base_width = base_height = 0; in reset()
160 if (base_height > min_height) in reset()
161 min_height = base_height; in reset()
237 if (h + base_height < min_height) { in apply()
251 if (max_h > 0 && h + base_height > max_h) in apply()
252 h = max_h - base_height; in apply()
265 height = h + base_height; in apply()
279 if ((h - base_height) % height_inc != 0) in valid()
[all …]
/dports/x11-themes/plasma5-breeze/breeze-5.23.5/wallpapers/
H A Dgenerate_wallpaper_sizes.py34 base_width, base_height = image.size variable
37 if width/height > base_width/base_height:
38 crop = int(base_height - height/(width/base_width))//2
39 box = (0, crop, base_width, base_height-crop)
40 elif width/height < base_width/base_height:
41 crop = int(base_width - width/(height/base_height))//2
42 box = (crop, 0, base_width-crop, base_height)
/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/src/
H A Drl2auxrender.c405 (aux->base_width, aux->base_height, aux->outbuf, in rl2_aux_render_image()
416 (aux->base_width, aux->base_height, aux->sqlite, in rl2_aux_render_image()
433 (aux->base_width, aux->base_height, aux->outbuf, in rl2_aux_render_image()
445 (aux->base_width, aux->base_height, aux->sqlite, in rl2_aux_render_image()
462 (aux->base_width, aux->base_height, aux->outbuf, in rl2_aux_render_image()
473 (aux->base_width, aux->base_height, aux->sqlite, in rl2_aux_render_image()
819 for (row = 0; row < aux->base_height; row++) in aux_shaded_relief_mask()
879 int base_height; in rl2_aux_group_renderer() local
1030 base_height = (int) (ext_y / yy_res); in rl2_aux_group_renderer()
1032 || (base_height <= 0 && base_height >= USHRT_MAX)) in rl2_aux_group_renderer()
[all …]
/dports/cad/cura/Cura-58bae31/plugins/ImageReader/
H A DImageReader.py72 base_height = max(base_height, 0)
73 peak_height = base_height + height_from_base
135 min_luminance = (transmittance_1mm / 100.0) ** (peak_height - base_height)
138 …height_data[y, x] = base_height + divisor * math.log(mapped_luminance) # use same base as a couple…
141 height_data += base_height
157 [0, base_height, 0],
158 [0, base_height, texel_height],
159 [texel_width, base_height, texel_height],
160 [texel_width, base_height, texel_height],
161 [texel_width, base_height, 0],
[all …]
H A DImageReaderUI.py33 self.base_height = 0.4
78 self._ui_view.findChild(QObject, "Base_Height").setProperty("text", str(self.base_height))
147 self.base_height = float(value.replace(",", "."))
149 self.base_height = 0
151 self.base_height = 0
/dports/devel/godot/godot-3.2.3-stable/servers/camera/
H A Dcamera_feed.cpp109 return base_height; in get_base_height()
155 base_height = 0; in CameraFeed()
182 if ((base_width != new_width) || (base_height != new_height)) { in set_RGB_img()
185 base_height = new_height; in set_RGB_img()
202 if ((base_width != new_width) || (base_height != new_height)) { in set_YCbCr_img()
205 base_height = new_height; in set_YCbCr_img()
228 if ((base_width != new_y_width) || (base_height != new_y_height)) { in set_YCbCr_imgs()
231 base_height = new_y_height; in set_YCbCr_imgs()
248 if ((base_width != p_width) || (base_height != p_height)) { in allocate_texture()
251 base_height = p_height; in allocate_texture()
/dports/devel/godot-tools/godot-3.2.3-stable/servers/camera/
H A Dcamera_feed.cpp109 return base_height; in get_base_height()
155 base_height = 0; in CameraFeed()
182 if ((base_width != new_width) || (base_height != new_height)) { in set_RGB_img()
185 base_height = new_height; in set_RGB_img()
202 if ((base_width != new_width) || (base_height != new_height)) { in set_YCbCr_img()
205 base_height = new_height; in set_YCbCr_img()
228 if ((base_width != new_y_width) || (base_height != new_y_height)) { in set_YCbCr_imgs()
231 base_height = new_y_height; in set_YCbCr_imgs()
248 if ((base_width != p_width) || (base_height != p_height)) { in allocate_texture()
251 base_height = p_height; in allocate_texture()
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/mesh_tools/
H A Dpkhg_faces.py49 base_height: FloatProperty(
277 base_height = self.base_height
334 base_height = self.base_height
362 base_height = self.base_height
409 ClosedVertical(name=obj_name, base_height=self.base_height,
414 OpenVertical(name=obj_name, base_height=self.base_height,
549 factor = base_height
553 factor = area * base_height
555 factor = base_height
582 factor = base_height
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/icb/
H A Dfloors.cpp91 if (heights[k] == floor->base_height) in ___init()
96 heights[total_heights++] = floor->base_height; in ___init()
103 heights[0] = floor->base_height; in ___init()
142 if (floor->base_height == heights[k]) { in ___init()
144 … Tdebug("floors.txt", "floor %d, base %3.2f, top %3.2f", j, floor->base_height, floor_y_volume[j]); in ___init()
222 if (floor->base_height == (int32)y) { in Return_floor_rect()
243 if (floor->base_height == (int32)y) { in Point_on_rubber_floor()
266 if (floor->base_height == (int32)y) { in Locate_floor_rect()
315 …if ((y >= (floor->base_height - (0 * REAL_ONE))) && ((y <= (floor_y_volume[j] - (0 * REAL_ONE)))))… in Set_floor_rect_flag()
351 …if ((log->mega->actor_xyz.y >= floor->base_height) && ((log->mega->actor_xyz.y <= floor_y_volume[j… in Return_non_rubber_floor_no()
[all …]
/dports/devel/efl/efl-1.25.1/src/lib/ecore_win32/
H A Decore_win32_window.c121 w->pos_hints.base_height = 0; in _ecore_win32_window_internal_new()
248 (new_height >= w->pos_hints.base_height) && in ecore_win32_window_drag()
273 (new_height >= w->pos_hints.base_height) && in ecore_win32_window_drag()
304 (new_height >= w->pos_hints.base_height) && in ecore_win32_window_drag()
337 (new_height >= w->pos_hints.base_height) && in ecore_win32_window_drag()
370 (new_height >= w->pos_hints.base_height) && in ecore_win32_window_drag()
865 window->pos_hints.base_height = min_height; in ecore_win32_window_size_min_set()
976 if ((base_width > 0) && (base_height > 0)) in ecore_win32_window_size_base_set()
980 window->pos_hints.base_height = base_height; in ecore_win32_window_size_base_set()
1003 if (base_height) *base_height = 0; in ecore_win32_window_size_base_get()
[all …]
/dports/games/bubble-chains/bubble-chains-0.2.0/
H A Ddisplaywrapper.cpp17 base_height = base_width = 0; in dw_init()
114 base_height = base_width = 0; in DisplayWrapper()
167 if (!base_height || !base_width) in dw_switchMode()
179 base_height = sizes->height; in dw_switchMode()
192 if (base_height && base_width) in dw_restoreMode()
193 dw_switchMode(base_width, base_height, base_bpp, true); in dw_restoreMode()
/dports/x11/libX11/libX11-1.7.2/src/
H A DWMGeom.c65 int base_width, base_height; /* valid amounts */ in XWMGeometry() local
83 base_height = ((hints->flags & PBaseSize) ? hints->base_height : in XWMGeometry()
86 min_height = ((hints->flags & PMinSize) ? hints->min_height : base_height); in XWMGeometry()
111 base_height); in XWMGeometry()
/dports/graphics/rapid-photo-downloader/rapid-photo-downloader-0.9.26/raphodo/
H A Dtoggleswitch.py50 self.base_height = QFontMetrics(QFont()).height() // 2 * 2
51 self.radius = self.base_height // 2
53 width = self.base_height * 2
61 self.setFixedHeight(self.base_height + 6)
149 height=self.base_height,
/dports/games/el/Eternal-Lands-1.9.5.9-1/eye_candy/
H A Deffect_fountain.cpp21 base_height = _base_height; in FountainParticle()
71 if (pos.y < base_height) in idle()
76 pos.y = base_height; in idle()
124 base_height = _base_height + 0.1; in FountainEffect()
178 …new FountainParticle(this, mover, coords, velocity, hue_adjust, saturation_adjust, base_height, ba… in idle()
/dports/x11/xpra/xpra-4.3/xpra/gtk_common/gtk3/
H A Dgdk_bindings.pyx96 cdef int base_width, base_height
112 base_width, base_height = getintpair("base-size", 0, 0)
118 e_height = max(height-base_height, 0)
127 if increment_y>1 or base_height>0:
128 e_height = max(height-base_height, 0)
135 if increment_y>1 or base_height>0:
136 e_height = max(height-base_height, 0)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/html/
H A Danchor_element_metrics.cc168 float base_height = static_cast<float>(viewport.Height()); in Create() local
176 float ratio_area = std::min(1.0f, target.Height() / base_height) * in Create()
179 float ratio_distance_top_to_visible_top = target.Y() / base_height; in Create()
181 (target.Y() + target.Height() / 2.0) / base_height; in Create()
184 (target.Y() + AccumulatedScrollOffset(*anchor_element)) / base_height; in Create()
194 float ratio_root_height = root_height / base_height; in Create()
200 base_height; in Create()
207 float ratio_visible_area = (target_visible.Height() / base_height) * in Create()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c372 unsigned int base_width, base_height; in stk1160_try_fmt() local
378 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; in stk1160_try_fmt()
384 base_height / 20, base_height); in stk1160_try_fmt()
392 f->fmt.pix.height = base_height; in stk1160_try_fmt()
434 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()
435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
442 } else if (height <= base_height / 2) { in stk1160_try_fmt()
443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c372 unsigned int base_width, base_height; in stk1160_try_fmt() local
378 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; in stk1160_try_fmt()
384 base_height / 20, base_height); in stk1160_try_fmt()
392 f->fmt.pix.height = base_height; in stk1160_try_fmt()
434 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()
435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
442 } else if (height <= base_height / 2) { in stk1160_try_fmt()
443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c372 unsigned int base_width, base_height; in stk1160_try_fmt() local
378 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; in stk1160_try_fmt()
384 base_height / 20, base_height); in stk1160_try_fmt()
392 f->fmt.pix.height = base_height; in stk1160_try_fmt()
434 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()
435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
442 } else if (height <= base_height / 2) { in stk1160_try_fmt()
443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
/dports/games/bzflag-server/bzflag-2.4.22/src/platform/
H A DSDL2Window.cxx27 vsync(false), base_width(640), base_height(480), min_width(-1), min_height(-1) in SDLWindow()
121 base_height = _height; in setSize()
125 base_height = _height; in setSize()
127 SDL_SetWindowSize(windowId, base_width, base_height); in setSize()
138 height = base_height; in getSize()
273 base_height, in create()
/dports/games/bzflag/bzflag-2.4.22/src/platform/
H A DSDL2Window.cxx27 vsync(false), base_width(640), base_height(480), min_width(-1), min_height(-1) in SDLWindow()
121 base_height = _height; in setSize()
125 base_height = _height; in setSize()
127 SDL_SetWindowSize(windowId, base_width, base_height); in setSize()
138 height = base_height; in getSize()
273 base_height, in create()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/html/
H A Danchor_element_metrics.cc168 float base_height = static_cast<float>(viewport.Height()); in Create() local
176 float ratio_area = std::min(1.0f, target.Height() / base_height) * in Create()
179 float ratio_distance_top_to_visible_top = target.Y() / base_height; in Create()
181 (target.Y() + target.Height() / 2.0) / base_height; in Create()
184 (target.Y() + AccumulatedScrollOffset(*anchor_element)) / base_height; in Create()
199 base_height; in Create()
206 float ratio_visible_area = (target_visible.Height() / base_height) * in Create()

12345678910>>...53