Save to image fix (ticket:96)
authorBrandon King <kingb@caltech.edu>
Fri, 13 Oct 2006 22:07:18 +0000 (22:07 +0000)
committerBrandon King <kingb@caltech.edu>
Fri, 13 Oct 2006 22:07:18 +0000 (22:07 +0000)
commit97c29e658fd0be149674442a81337407e1d0ff73
treeafe44d5a339ab93602b1daeec15f3527123b0e8e
parentf9e7b753cc0cb40edc4a965ad2649a457d3dcc8a
Save to image fix (ticket:96)

  * ImageSaveDialog now uses a SequenceBrowser copy contructor to draw the image.

  * glseqbrowser copy constructor was missing path_segments.

  * SequenceBrowser now has a copy constructor.

  * ImageSaveDialog needed to updated to use the bp per pixel zoom magnification;
meaning that when the user wants an image twice the x value of the glcanvas,
then the bps per pixel needed to halved.

  * bp_per_pixel2 = ( x_1 / x_2) * bp_per_pixel_1
alg/glseqbrowser.cpp
qui/ImageSaveDialog.cpp
qui/ImageSaveDialog.hpp
qui/seqbrowser/SequenceBrowser.cpp
qui/seqbrowser/SequenceBrowser.hpp
qui/seqbrowser/SequenceBrowserWidget.cpp