1 /****************************************************************************************************** 2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 5 ******************************************************************************************************/ 6 7 #ifndef ZOOM_FACTOR_H 8 #define ZOOM_FACTOR_H 9 10 /// Zoom factors ordered by zoom level so next one above/below is the next zoom level 11 enum ZoomFactor { 12 ZOOM_16_TO_1, 13 ZOOM_16_TO_1_FARTHER, 14 ZOOM_8_TO_1_CLOSER, 15 ZOOM_8_TO_1, 16 ZOOM_8_TO_1_FARTHER, 17 ZOOM_4_TO_1_CLOSER, 18 ZOOM_4_TO_1, 19 ZOOM_4_TO_1_FARTHER, 20 ZOOM_2_TO_1_CLOSER, 21 ZOOM_2_TO_1, 22 ZOOM_2_TO_1_FARTHER, 23 ZOOM_1_TO_1_CLOSER, 24 ZOOM_1_TO_1, 25 ZOOM_1_TO_1_FARTHER, 26 ZOOM_1_TO_2_CLOSER, 27 ZOOM_1_TO_2, 28 ZOOM_1_TO_2_FARTHER, 29 ZOOM_1_TO_4_CLOSER, 30 ZOOM_1_TO_4, 31 ZOOM_1_TO_4_FARTHER, 32 ZOOM_1_TO_8_CLOSER, 33 ZOOM_1_TO_8, 34 ZOOM_1_TO_8_FARTHER, 35 ZOOM_1_TO_16_CLOSER, 36 ZOOM_1_TO_16, 37 ZOOM_FILL, 38 NUMBER_ZOOM_FACTORS 39 }; 40 41 #endif // ZOOM_FACTOR_H 42