Exemplo n.º 1
0
 def right( self ):
     """The right most point of the viewport in pixels.
     """
     return rectangle.right( self.rect )
Exemplo n.º 2
0
 def right(self):
     """The right most point of the viewport in pixels.
     """
     return rectangle.right(self.rect)
Exemplo n.º 3
0
 def test_right_negative(self):
     result = rectangle.right([[1.,2.],[-3.,-4.]])
     np.testing.assert_almost_equal(result, 1., decimal=5)
Exemplo n.º 4
0
 def test_right(self):
     result = rectangle.right([[1.,2.],[3.,4.]])
     np.testing.assert_almost_equal(result, 4., decimal=5)
Exemplo n.º 5
0
 def right(self) -> float:
     return rectangle.right(self._m)
Exemplo n.º 6
0
 def test_right_negative(self):
     result = rectangle.right([[1.,2.],[-3.,-4.]])
     np.testing.assert_almost_equal(result, 1., decimal=5)
Exemplo n.º 7
0
 def test_right(self):
     result = rectangle.right([[1.,2.],[3.,4.]])
     np.testing.assert_almost_equal(result, 4., decimal=5)