float right() const;
void setViewportCenter(float x);
+ //! return world coordinate of the left side of the viewport
float viewportLeft() const;
+ //! return world coordinate of the center of the viewport
float viewportCenter() const;
+ //! return world coordinate of the right side of the viewport
float viewportRight() const;
+ //! return height of the viewport in world coordinates
float viewportHeight() const;
+ //! return width of the viewport in world coordinates
float viewportWidth() const;
//! zoom out far enough to show the full size of the sequence
/*! its a double as zoom levels of [0.01, 1.0] make nice sequence views
*/
void setZoom(double zoom_level);
- //! returns the current zoom level
+ //! returns the current zoom level as basepairs per pixel
double zoom() const;
void setColorMapper(AnnotationColors& cm);