boost::shared_ptr<Color> color();
//! how big is a pixel in world coordinats
- GLfloat get_pixel_width(GLfloat, GLfloat) const;
+ GLfloat pixelWidth(GLfloat, GLfloat) const;
//! how big is a pixel in world coordinats (specifying viewport size)
GLfloat pixelWidth(GLfloat, GLfloat, int) const;
// way fewer basepairs than viewport pixel width
BOOST_CHECK_EQUAL(s.is_sequence_renderable( 0, 10, 500), true);
- BOOST_CHECK_CLOSE((double)s.get_pixel_width(0, 100, 100), 1.0, 1e-6);
- BOOST_CHECK_CLOSE((double)s.get_pixel_width(0, 1000, 100), 10.0, 1e-6);
+ BOOST_CHECK_CLOSE((double)s.pixelWidth(0, 100, 100), 1.0, 1e-6);
+ BOOST_CHECK_CLOSE((double)s.pixelWidth(0, 1000, 100), 10.0, 1e-6);
}
BOOST_AUTO_TEST_CASE( glsequence_sequence )