/dports/games/divide-and-succeed/divide-and-succeed-0.9.4/src/ |
H A D | Vector.cpp | 41 _x(b.get_x() - a.get_x()), _y(b.get_y() - a.get_y()) { in Vector() 48 float Vector::get_y() const { in get_y() function in Vector 59 _y = b.get_y() - a.get_y(); in set() 63 return (v1.get_x() * v2.get_x()) + (v1.get_y() * v2.get_y()); in scalaire() 84 return Vector(v1.get_x() + v2.get_x(), v1.get_y() + v2.get_y()); in operator +() 92 return (v1.get_x() * v2.get_y()) - (v1.get_y() * v2.get_x()); in determinant() 134 (v1.get_y() >= v2.get_y() - FLT_EPSILON) && (v1.get_y() <= v2.get_y() + FLT_EPSILON); in operator ==() 142 return os << "(" << v.get_x() << " " << v.get_y() << ")"; in operator <<()
|
H A D | Point.cpp | 44 float Point::get_y() const { in get_y() function in Point 60 float new_y = rapport*(_y - origine.get_y()) + origine.get_y(); in homothetie() 69 return Point(p1.get_x() + p2.get_x(), p1.get_y() + p2.get_y()); in operator +() 78 (p1.get_y() >= p2.get_y() - FLT_EPSILON) && (p1.get_y() <= p2.get_y() + FLT_EPSILON); in operator ==() 86 return os << p.get_x() << "," << p.get_y(); in operator <<()
|
/dports/graphics/libgnomecanvasmm26/libgnomecanvasmm-2.26.0/libgnomecanvas/libgnomecanvasmm/ |
H A D | point.cc | 64 gdouble Point::get_y() const in get_y() function in Gnome::Art::Point 76 return Point(get_x() + p2.get_x(), get_y() + p2.get_y()); in operator +() 81 return Point(get_x() - p2.get_x(), get_y() - p2.get_y()); in operator -() 87 set_y(get_y() + other.get_y()); in operator +=() 94 set_y(get_y() - other.get_y()); in operator -=() 116 return out << '(' << p.get_x() << ", " << p.get_y() << ')'; in operator <<()
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/gst/ |
H A D | gst_polygon_2d.cxx | 66 ysum+= edge->get_start()->get_y(); in get_centroid_y() 82 double dp = edges_[i]->get_start()->get_x()* edges_[ip1]->get_start()->get_y() in area() 102 if ((((edges_[i]->get_start()->get_y()<= y) && in inside() 103 (y< edges_[j]->get_start()->get_y())) || in inside() 104 ((edges_[j]->get_start()->get_y()<= y) && in inside() 105 (y< edges_[i]->get_start()->get_y()))) && in inside() 108 edges_[i]->get_start()->get_y()) / in inside() 109 (edges_[j]->get_start()->get_y() - edges_[i]->get_start()->get_y()) + in inside() 121 return inside( v->get_x(), v->get_y()); in inside()
|
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/ |
H A D | cellrenderer_timetrack.cpp | 138 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 149 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 160 cr->move_to(area.get_x(),area.get_y()+area.get_height()); in render_time_point_to_window() 228 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 239 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 643 area.get_y() + 1, in render_vfunc() 672 area.get_y() + 1, in render_vfunc() 723 area.get_y(), in render_vfunc() 725 area.get_y()); in render_vfunc() 748 area.get_y(), in render_vfunc() [all …]
|
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/ |
H A D | cellrenderer_timetrack.cpp | 138 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 149 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 160 cr->move_to(area.get_x(),area.get_y()+area.get_height()); in render_time_point_to_window() 228 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 239 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 643 area.get_y() + 1, in render_vfunc() 672 area.get_y() + 1, in render_vfunc() 723 area.get_y(), in render_vfunc() 725 area.get_y()); in render_vfunc() 748 area.get_y(), in render_vfunc() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/cellrenderer/ |
H A D | cellrenderer_timetrack.cpp | 138 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 149 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 160 cr->move_to(area.get_x(),area.get_y()+area.get_height()); in render_time_point_to_window() 228 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 239 cr->translate(area.get_x(), area.get_y()); in render_time_point_to_window() 643 area.get_y() + 1, in render_vfunc() 672 area.get_y() + 1, in render_vfunc() 723 area.get_y(), in render_vfunc() 725 area.get_y()); in render_vfunc() 748 area.get_y(), in render_vfunc() [all …]
|
/dports/devel/p5-Class-Constant/Class-Constant-0.07/t/ |
H A D | values.t | 46 is(methodify::NORTH->get_x, 0); is(methodify::NORTH->get_y, -1); 47 is(methodify::SOUTH->get_x, 0); is(methodify::SOUTH->get_y, 1); 48 is(methodify::EAST ->get_x, -1); is(methodify::EAST ->get_y, 0); 49 is(methodify::WEST ->get_x, 1); is(methodify::WEST ->get_y, 0); 56 is(bothify::NORTH->get_x, 0); is(bothify::NORTH->get_y, -1); 57 is(bothify::SOUTH->get_x, 0); is(bothify::SOUTH->get_y, 1); 58 is(bothify::EAST ->get_x, -1); is(bothify::EAST ->get_y, 0); 59 is(bothify::WEST ->get_x, 1); is(bothify::WEST ->get_y, 0);
|
/dports/devel/simgear/simgear-2020.3.11/simgear/bucket/ |
H A D | test_bucket.cxx | 52 SG_CHECK_EQUAL(b1.get_y(), 0); in testBasic() 62 SG_CHECK_EQUAL(b2.get_y(), 1); in testBasic() 70 SG_CHECK_EQUAL(b3.get_y(), 0); in testBasic() 140 SG_CHECK_EQUAL(b1.get_y(), 7); in testPolar() 148 SG_CHECK_EQUAL(b2.get_y(), 7); in testPolar() 170 SG_CHECK_EQUAL(b5.get_y(), 0); in testPolar() 210 SG_CHECK_EQUAL(b1.get_y(), 7); in testOffset() 217 SG_CHECK_EQUAL(b2.get_y(), 0); in testOffset() 228 SG_CHECK_EQUAL(b3.get_y(), 0); in testOffset() 239 SG_CHECK_EQUAL(b1.get_y(), 3); in testPolarOffset() [all …]
|
/dports/graphics/libgnomecanvasmm26/libgnomecanvasmm-2.26.0/demos/ |
H A D | curve.cc | 174 path->moveto(m_points[0].get_x(), m_points[0].get_y()); in draw_curve() 175 path->lineto(m_points[1].get_x(), m_points[1].get_y()); in draw_curve() 199 path->moveto(m_points[0].get_x(), m_points[0].get_y()); in draw_curve() 200 path->curveto(m_points[2].get_x(), m_points[2].get_y(), in draw_curve() 201 m_points[2].get_x(), m_points[2].get_y(), in draw_curve() 202 m_points[1].get_x(), m_points[1].get_y()); in draw_curve() 215 path->moveto(m_points[0].get_x(), m_points[0].get_y()); in draw_curve() 216 path->curveto(m_points[2].get_x(), m_points[2].get_y(), in draw_curve() 217 m_points[3].get_x(), m_points[3].get_y(), in draw_curve() 218 m_points[1].get_x(), m_points[1].get_y()); in draw_curve()
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vdgl/ |
H A D | vdgl_interpolator_linear.cxx | 62 double vdgl_interpolator_linear::get_y( const double index) in get_y() function in vdgl_interpolator_linear 68 double ae = chain_->edgel(a).get_y(); in get_y() 70 double be = chain_->edgel(a+1).get_y(); in get_y() 222 minycache_= chain_->edgel( 0).get_y(); in recompute_bbox() 223 maxycache_= chain_->edgel( 0).get_y(); in recompute_bbox() 229 if (chain_->edgel(i).get_y()< minycache_) minycache_= chain_->edgel(i).get_y(); in recompute_bbox() 230 if (chain_->edgel(i).get_y()> maxycache_) maxycache_= chain_->edgel(i).get_y(); in recompute_bbox()
|
/dports/biology/p5-Bio-Phylo/Bio-Phylo-v2.0.1/lib/Bio/Phylo/Treedrawer/ |
H A D | Abstract.pm | 59 my $y = $node->get_y; 199 my ( $cx, $cy ) = ( $root->get_x, $root->get_y ); 200 my ( $rx, $ry ) = ( $rmtl->get_x, $rmtl->get_y ); 201 my ( $lx, $ly ) = ( $lmtl->get_x, $lmtl->get_y ); 212 my ( $x1, $y1 ) = ( $d->get_x, $d->get_y ); 270 my ( $y1, $y2 ) = ( $lmtl->get_y, $rmtl->get_y ); 322 my $y1 = $node->get_y; 503 my @y = map { $_->get_y } sort { $a->get_y <=> $b->get_y } @{ $tree->get_entities }; 540 my ( $y1, $y2 ) = ( int $parent->get_y, int $node->get_y ); 592 my ( $x1, $y1 ) = ( $node->get_x, $node->get_y ); [all …]
|
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/widgets/ |
H A D | widget_color.cpp | 94 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 98 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 105 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 109 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 119 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window() 124 cr->rectangle(ca.get_x()+1, ca.get_y()+1, width-3, height-3); in render_color_to_window() 128 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window()
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/widgets/ |
H A D | widget_color.cpp | 94 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 98 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 105 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 109 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 119 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window() 124 cr->rectangle(ca.get_x()+1, ca.get_y()+1, width-3, height-3); in render_color_to_window() 128 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window()
|
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/gui/widgets/ |
H A D | widget_color.cpp | 94 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 98 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 105 cr->rectangle(ca.get_x()+i, ca.get_y(), square_width, square_size); in render_color_to_window() 109 cr->rectangle(ca.get_x()+i, ca.get_y()+square_size, square_width, square_size); in render_color_to_window() 119 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window() 124 cr->rectangle(ca.get_x()+1, ca.get_y()+1, width-3, height-3); in render_color_to_window() 128 cr->rectangle(ca.get_x(), ca.get_y(), width-1, height-1); in render_color_to_window()
|
/dports/games/legesmotus/legesmotus-0.4.0/client/ |
H A D | ServerBrowser.cpp | 67 …m_scrollbar->set_y(m_background->get_y() + m_background->get_row_height(0) + 5 + m_scrollbar->get_… in ServerBrowser() 77 m_scrollarea->set_y(m_background->get_y() + m_background->get_row_height(0) + 15); in ServerBrowser() 292 mouse_y < button.get_y() || in check_button_press() 293 mouse_y > button.get_y() + button.get_image_height()) { in check_button_press() 321 …if (mouse_y < m_scrollarea->get_y() || mouse_y > m_scrollarea->get_y() + m_scrollarea->get_height(… in check_item_select() 327 int offset = int(m_scrollarea->get_y() - m_scrollarea->get_vert_scroll_progress_pixels()); in check_item_select() 329 m_selected_item = int(((mouse_y-offset)/25) - m_items["name0"]->get_y() / 25); in check_item_select() 339 m_selection->set_y(m_items[itemname.str()]->get_y() + offset - 5); in check_item_select() 343 if (m_selection->get_y() < m_scrollarea->get_y() - 12 || in check_item_select() 344 m_selection->get_y() + m_selection->get_image_height() > in check_item_select() [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/tests/src/tests/ |
H A D | PixelMovement.cpp | 38 Debug::check_assertion(m.get_x() == 3 && m.get_y() == -1, in basic_test() 56 Debug::check_assertion(m.get_x() == 3 && m.get_y() == -6, in loop_test() 84 Debug::check_assertion(m.get_x() == 2 && m.get_y() == 1, in restart_test() 95 Debug::check_assertion(m.get_x() == 2 && m.get_y() == 3, in restart_test() 117 Debug::check_assertion(m.get_x() == -1 && m.get_y() == -3, in list_test()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/graphics/ |
H A D | TransitionScrolling.cpp | 137 && current_scrolling_position.get_y() == current_map_dst_position.get_y(); in is_finished() 162 current_scrolling_position.get_y() + dy, in scroll() 163 current_map_dst_position.get_y()) in scroll() 168 current_scrolling_position.get_y() + dy, in scroll() 169 current_map_dst_position.get_y()) in scroll()
|
/dports/games/pentobi/pentobi-19.1/libboardgame_base/ |
H A D | PointTransform.h | 68 unsigned x = geo.get_width() - geo.get_y(p) - 1; in get_transformed() 91 unsigned y = geo.get_height() - geo.get_y(p) - 1; in get_transformed() 112 unsigned x = geo.get_y(p); in get_transformed() 135 return geo.get_point(geo.get_y(p), geo.get_x(p)); in get_transformed() 156 unsigned x = geo.get_width() - geo.get_y(p) - 1; in get_transformed() 179 unsigned y = geo.get_y(p); in get_transformed() 201 unsigned y = geo.get_height() - geo.get_y(p) - 1; in get_transformed() 224 float py = static_cast<float>(geo.get_y(p)) - cy; in get_transformed() 249 float py = static_cast<float>(geo.get_y(p)) - cy; in get_transformed() 274 float py = static_cast<float>(geo.get_y(p)) - cy; in get_transformed() [all …]
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/libsvg/ |
H A D | rect.cc | 147 path.push_back(Eigen::Vector3d(get_x(), get_y(), 0)); in set_attrs() 148 path.push_back(Eigen::Vector3d(get_x() + get_width(), get_y(), 0)); in set_attrs() 149 path.push_back(Eigen::Vector3d(get_x() + get_width(), get_y() + get_height(), 0)); in set_attrs() 150 path.push_back(Eigen::Vector3d(get_x(), get_y() + get_height(), 0)); in set_attrs() 151 path.push_back(Eigen::Vector3d(get_x(), get_y(), 0)); in set_attrs()
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/libsvg/ |
H A D | rect.cc | 147 path.push_back(Eigen::Vector3d(get_x(), get_y(), 0)); in set_attrs() 148 path.push_back(Eigen::Vector3d(get_x() + get_width(), get_y(), 0)); in set_attrs() 149 path.push_back(Eigen::Vector3d(get_x() + get_width(), get_y() + get_height(), 0)); in set_attrs() 150 path.push_back(Eigen::Vector3d(get_x(), get_y() + get_height(), 0)); in set_attrs() 151 path.push_back(Eigen::Vector3d(get_x(), get_y(), 0)); in set_attrs()
|
/dports/devel/boost-docs/boost_1_72_0/libs/serialization/test/ |
H A D | test_mi.cpp | 63 int get_y() const in get_y() function in B 97 int y = pb->get_y(); in test_main() 100 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main() 127 BOOST_CHECK(y == pb->get_y()); in test_main() 130 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/serialization/test/ |
H A D | test_mi.cpp | 63 int get_y() const in get_y() function in B 97 int y = pb->get_y(); in test_main() 100 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main() 127 BOOST_CHECK(y == pb->get_y()); in test_main() 130 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/serialization/test/ |
H A D | test_mi.cpp | 63 int get_y() const in get_y() function in B 97 int y = pb->get_y(); in test_main() 100 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main() 127 BOOST_CHECK(y == pb->get_y()); in test_main() 130 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/serialization/test/ |
H A D | test_mi.cpp | 63 int get_y() const in get_y() function in B 97 int y = pb->get_y(); in test_main() 100 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main() 127 BOOST_CHECK(y == pb->get_y()); in test_main() 130 std::cout << "pb->get_y(): " << pb->get_y() << std::endl; in test_main()
|