/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/des/builder/ |
H A D | layout_loops.des | 374 local min_ym = center_y - radius_max 560 # <4> 0 < center_y - radius 561 # <5> center_y + radius < height() 790 local y = center_y + y_off 920 local y = center_y + y_off 1159 local subroom_ym = center_y - 10 1160 local subroom_yp = center_y + 10 1170 e.mapgrd[x][center_y] = '.' 1364 local center_y = height() / 2 1513 stairs_y[1] = center_y [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/geometry/ |
H A D | test_iterator.cpp | 208 unsigned center_y = 50; in TEST() local 212 checkSimpleLine8 (center_x, center_y, center_x + length, center_y, cloud); in TEST() 215 checkSimpleLine8 (center_x, center_y, center_x - length, center_y, cloud); in TEST() 218 checkSimpleLine8 (center_x, center_y, center_x, center_y - length, cloud); in TEST() 221 checkSimpleLine8 (center_x, center_y, center_x, center_y + length, cloud); in TEST() 224 checkSimpleLine8 (center_x, center_y, center_x + length, center_y + length, cloud); in TEST() 227 checkSimpleLine8 (center_x, center_y, center_x - length, center_y + length, cloud); in TEST() 230 checkSimpleLine8 (center_x, center_y, center_x + length, center_y - length, cloud); in TEST() 233 checkSimpleLine8 (center_x, center_y, center_x - length, center_y - length, cloud); in TEST() 245 unsigned center_y = 50; in TEST() local [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/display/ |
H A D | gimpcanvasarc.c | 55 gdouble center_y; member 245 *center_y = (y1 + y2) / 2.0; in gimp_canvas_arc_transform() 266 gdouble center_x, center_y; in gimp_canvas_arc_draw() local 270 ¢er_x, ¢er_y, in gimp_canvas_arc_draw() 274 cairo_translate (cr, center_x, center_y); in gimp_canvas_arc_draw() 292 gdouble center_x, center_y; in gimp_canvas_arc_get_extents() local 296 ¢er_x, ¢er_y, in gimp_canvas_arc_get_extents() 327 gdouble center_y, in gimp_canvas_arc_new() argument 339 "center-y", center_y, in gimp_canvas_arc_new() 351 gdouble center_y, in gimp_canvas_arc_set() argument [all …]
|
/dports/graphics/grafx2/grafx2/src/ |
H A D | operatio.c | 1030 ((tangent_y-center_y)*(tangent_y-center_y)); in Circle_12_5() 1034 ((Paintbrush_Y-center_y)*(Paintbrush_Y-center_y)); in Circle_12_5() 1071 ((tangent_y-center_y)*(tangent_y-center_y)); in Empty_circle_0_5() 1112 ((tangent_y-center_y)*(tangent_y-center_y)); in Filled_circle_0_5() 1204 vertical_radius =(tangent_y>center_y)?tangent_y-center_y in Ellipse_12_5() 1258 vertical_radius =(tangent_y>center_y)?tangent_y-center_y in Empty_ellipse_0_5() 1309 vertical_radius =(tangent_y>center_y)?tangent_y-center_y in Filled_ellipse_0_5() 3036 ((tangent_y-center_y)*(tangent_y-center_y)); in Grad_circle_12_6() 3110 ((tangent_y-center_y)*(tangent_y-center_y)); in Grad_circle_0_6() 3158 ((tangent_y-center_y)*(tangent_y-center_y)); in Grad_circle_12_8() [all …]
|
/dports/astro/gpsd/gpsd-3.20/ |
H A D | Tachometer.c | 170 Cardinal center_x, Cardinal center_y, in FastFillCircle() argument 180 (double)radius_y + (double)center_y); in FastFillCircle() 231 center_y = (Cardinal) (w->core.height / 2); in DrawLabelString() 237 ry = (Cardinal) (radius_y * 0.35 + center_y); in DrawLabelString() 263 center_y = w->core.height / 2; in DrawGauge() 315 Cardinal center_x, center_y, radius_x, radius_y; in DrawNeedle() local 318 center_y = w->core.height / 2; in DrawNeedle() 350 Cardinal center_x, center_y, radius_x, radius_y; in DrawTachometer() local 353 center_y = w->core.height / 2; in DrawTachometer() 362 center_x, center_y, radius_x, radius_y); in DrawTachometer() [all …]
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/liblepton/tests/ |
H A D | test_circle_object.c | 12 gint center_y = g_test_rand_int (); in check_construction() local 18 center_y, in check_construction() 25 g_assert_cmpint (center_y, ==, lepton_circle_object_get_center_y (object0)); in check_construction() 38 g_assert_cmpint (center_y, ==, lepton_circle_object_get_center_y (object1)); in check_construction() 56 gint center_y = g_test_rand_int (); in check_accessors() local 62 center_y, in check_accessors() 69 center_y = g_test_rand_int (); in check_accessors() 74 lepton_circle_object_set_center_y (object0, center_y); in check_accessors() 79 g_assert_cmpint (center_y, ==, lepton_circle_object_get_center_y (object0)); in check_accessors() 102 gint center_y = g_test_rand_int (); in check_serialization() local [all …]
|
H A D | test_arc_object.c | 12 gint center_y = g_test_rand_int (); in check_construction() local 20 center_y, in check_construction() 29 g_assert_cmpint (center_y, ==, lepton_arc_object_get_center_y (object0)); in check_construction() 44 g_assert_cmpint (center_y, ==, lepton_arc_object_get_center_y (object1)); in check_construction() 64 gint center_y = g_test_rand_int (); in check_accessors() local 72 center_y, in check_accessors() 81 center_y = g_test_rand_int (); in check_accessors() 88 lepton_arc_object_set_center_y (object0, center_y); in check_accessors() 95 g_assert_cmpint (center_y, ==, lepton_arc_object_get_center_y (object0)); in check_accessors() 120 gint center_y = g_test_rand_int (); in check_serialization() local [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Min_circle_2/ |
H A D | Min_circle_2_adapterC2.h | 135 center_y = FT( 0); in set() 141 dao.get( p, center_x, center_y); in set() 156 center_y = ( py+qy) / FT( 2); in set() 157 sqr_rad = sqr_dist( px, py, center_x, center_y); in set() 184 center_y = ( r2_p2*qx_px - q2_p2*rx_px) / denom; in set() 244 ( center_y == c.center_y) && 259 dao.set( p, center_x, center_y); in center() 281 << c.center_y << ", " 291 CGAL::write( os, c.center_y); 316 is >> c.center_x >> c.center_y >> c.sqr_rad; [all …]
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/ |
H A D | priorbox.cpp | 80 float center_y = offset * step_h + i * step_h; in forward() local 92 box[1] = center_y - ch; in forward() 94 box[3] = center_y + ch; in forward() 107 box[1] = center_y - ch; in forward() 109 box[3] = center_y + ch; in forward() 170 float center_y = offset * step_h + i * step_h; in forward() local 174 center_y = offset * (step_h - 1) + i * step_h; in forward() 190 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() 192 box[3] = (center_y + box_h * 0.5f) / image_h; in forward() 204 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/ |
H A D | priorbox.cpp | 80 float center_y = offset * step_h + i * step_h; in forward() local 92 box[1] = center_y - ch; in forward() 94 box[3] = center_y + ch; in forward() 107 box[1] = center_y - ch; in forward() 109 box[3] = center_y + ch; in forward() 170 float center_y = offset * step_h + i * step_h; in forward() local 174 center_y = offset * (step_h - 1) + i * step_h; in forward() 190 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() 192 box[3] = (center_y + box_h * 0.5f) / image_h; in forward() 204 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/layer/ |
H A D | priorbox.cpp | 80 float center_y = offset * step_h + i * step_h; in forward() local 92 box[1] = center_y - ch; in forward() 94 box[3] = center_y + ch; in forward() 107 box[1] = center_y - ch; in forward() 109 box[3] = center_y + ch; in forward() 170 float center_y = offset * step_h + i * step_h; in forward() local 174 center_y = offset * (step_h - 1) + i * step_h; in forward() 190 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() 192 box[3] = (center_y + box_h * 0.5f) / image_h; in forward() 204 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() [all …]
|
/dports/misc/ncnn/ncnn-20211208/src/layer/ |
H A D | priorbox.cpp | 80 float center_y = offset * step_h + i * step_h; in forward() local 92 box[1] = center_y - ch; in forward() 94 box[3] = center_y + ch; in forward() 107 box[1] = center_y - ch; in forward() 109 box[3] = center_y + ch; in forward() 170 float center_y = offset * step_h + i * step_h; in forward() local 174 center_y = offset * (step_h - 1) + i * step_h; in forward() 190 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() 192 box[3] = (center_y + box_h * 0.5f) / image_h; in forward() 204 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() [all …]
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/layer/ |
H A D | priorbox.cpp | 80 float center_y = offset * step_h + i * step_h; in forward() local 92 box[1] = center_y - ch; in forward() 94 box[3] = center_y + ch; in forward() 107 box[1] = center_y - ch; in forward() 109 box[3] = center_y + ch; in forward() 170 float center_y = offset * step_h + i * step_h; in forward() local 174 center_y = offset * (step_h - 1) + i * step_h; in forward() 190 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() 192 box[3] = (center_y + box_h * 0.5f) / image_h; in forward() 204 box[1] = (center_y - box_h * 0.5f) / image_h; in forward() [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_circle.rs | 30 center_y: T, field 38 pub fn new(center_x: T, center_y: T, radius: T) -> Self { in new() 41 center_y, in new() 58 1 => (self.center_x - self.x, self.center_y + self.y), in next() 59 2 => (self.center_x - self.y, self.center_y - self.x), in next() 60 3 => (self.center_x + self.x, self.center_y - self.y), in next() 61 4 => (self.center_x + self.y, self.center_y + self.x), in next()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_circle.rs | 30 center_y: T, field 38 pub fn new(center_x: T, center_y: T, radius: T) -> Self { in new() 41 center_y, in new() 58 1 => (self.center_x - self.x, self.center_y + self.y), in next() 59 2 => (self.center_x - self.y, self.center_y - self.x), in next() 60 3 => (self.center_x + self.x, self.center_y - self.y), in next() 61 4 => (self.center_x + self.y, self.center_y + self.x), in next()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_circle.rs | 30 center_y: T, field 38 pub fn new(center_x: T, center_y: T, radius: T) -> Self { in new() 41 center_y, in new() 58 1 => (self.center_x - self.x, self.center_y + self.y), in next() 59 2 => (self.center_x - self.y, self.center_y - self.x), in next() 60 3 => (self.center_x + self.x, self.center_y - self.y), in next() 61 4 => (self.center_x + self.y, self.center_y + self.x), in next()
|
/dports/devel/boost-docs/boost_1_72_0/libs/gil/test/extension/numeric/ |
H A D | kernel.cpp | 31 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 55 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 80 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 106 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 108 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 136 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 138 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 172 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 195 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 254 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/gil/test/extension/numeric/ |
H A D | kernel.cpp | 31 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 55 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 80 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 106 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 108 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 136 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 138 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 172 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 195 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 254 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/gil/test/extension/numeric/ |
H A D | kernel.cpp | 31 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 55 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 80 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 106 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 108 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 136 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 138 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() 172 BOOST_TEST(k.center_y() == 0); in BOOST_AUTO_TEST_CASE() 195 BOOST_TEST(k.center_y() == 4); in BOOST_AUTO_TEST_CASE() 254 BOOST_TEST(k.center_y() == d.center_y()); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/x11-toolkits/p5-Tk-Contrib/Tk-Contrib-0.07/ |
H A D | Dial.pm | 93 my ($center_x, $center_y) = ($margin + $radius) x 2; 100 ($center_x - $radius, $center_y - $radius), 101 ($center_x + $radius, $center_y + $radius), 126 my ($center_x, $center_y) = ($margin + $radius) x 2; 140 my $newy = $center_y + int($factor * $delta_y); 143 $c->create('line', ($newx, $newy, $center_x, $center_y), 173 my ($center_x, $center_y) = ($margin + $radius) x 2; 195 $y += $center_y; 197 $c->create('line', ($x, $y, $center_x, $center_y),
|
/dports/devel/hyperscan/boost_1_75_0/libs/gil/test/extension/numeric/ |
H A D | kernel.cpp | 32 BOOST_TEST_EQ(k.center_y(), 0); in test_kernel_2d_default_constructor() 56 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_parameterized_constructor() 81 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_parameterized_constructor_with_iterator() 107 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_copy_constructor() 109 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_copy_constructor() 137 BOOST_TEST_EQ(k.center_y(), 4); in test_kernel_2d_assignment_operator() 139 BOOST_TEST_EQ(k.center_y(), d.center_y()); in test_kernel_2d_assignment_operator() 165 BOOST_TEST_EQ(d.center_y(), 2); in test_kernel_2d_reverse_kernel() 172 BOOST_TEST_EQ(k.center_y(), d.right_size()); in test_kernel_2d_reverse_kernel() 173 BOOST_TEST_EQ(k.center_y(), 2); in test_kernel_2d_reverse_kernel()
|
/dports/graphics/katarakt/katarakt-99735bc0b15b57d689b6c982d43b85ed1b40ef45/src/layout/ |
H A D | presenterlayout.cpp | 97 int center_y[2] = {0, 0}; in render() local 121 center_y[i] = (h[i] - page_height[i]) / 2; in render() 128 center_y[1] = 0; in render() 131 center_y[1] = h[0] + useless_gap; in render() 147 rect = QRect(center_y[i], -center_x[i] - page_width[i], in render() 172 QPoint offset(center_x[i], center_y[i]); in render() 219 int center_y[2] = {0, 0}; in get_location_at() local 243 center_y[i] = (h[i] - page_height[i]) / 2; in get_location_at() 249 center_y[1] = 0; in get_location_at() 251 center_y[1] = height - page_height[1]; in get_location_at() [all …]
|
/dports/x11/xtacy/Xtacy/ |
H A D | starback.c | 57 int center_x, center_y; variable 74 pt->y += center_y - init_range; in init_point() 103 wanted_center_y=center_y= CY[winno]>>1; in init_galaxy() 123 star->y = y + (y - center_y*HIGHPREC)/(star_speed + star->ind_speed); in update_star() 174 x = center_x; y = center_y; in update_center() 178 center_y = y + (wanted_center_y - y)/(turn_speed); in update_center() 179 if(center_y<0) center_y=0; in update_center() 180 if(center_y>CX[winno]) center_y=CY[winno]; in update_center() 211 (wanted_center_y != center_y)) || in draw_stars()
|
/dports/devel/p5-Goo-Canvas/Goo-Canvas-0.06/xs/ |
H A D | goocanvasellipse.xs | 6 goo_canvas_ellipse_new(class, parent, center_x, center_y, radius_x, radius_y, ...) 9 gdouble center_y 13 RETVAL = goo_canvas_ellipse_new(parent, center_x, center_y, radius_x, radius_y, NULL); 21 goo_canvas_ellipse_model_new(class, parent, center_x, center_y, radius_x, radius_y, ...) 24 gdouble center_y 28 RETVAL = goo_canvas_ellipse_model_new(parent, center_x, center_y, radius_x, radius_y, NULL);
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/dlua/layout/ |
H A D | geoelf_corridors.lua | 92 local start_y = room_data[room1_index].center_y 93 local end_y = room_data[room2_index].center_y 106 local y1 = room_data[room1_index].center_y 107 local y2 = room_data[room2_index].center_y 128 room_data[room1_index].center_y 136 local start_y = room_data[room1_index].center_y 137 local end_y = room_data[room2_index].center_y 151 room_data[room1_index].center_y 153 room_data[room2_index].center_y 159 local start_y = room_data[room1_index].center_y [all …]
|