Commit 8e437b23 authored by vesa_solonen's avatar vesa_solonen

New zoom factors

parent b833a46b
...@@ -5,6 +5,12 @@ Started 2007-June-11 ...@@ -5,6 +5,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2009-Feb-4 UPDATE Vesa Solonen <vesa.solonen@hut.fi>
================================================================================
++pcbnew:
++eeschema:
Zoom factors in 3th root series of 2. So two intermediates between half/double scale.
2009-Feb-04 UPDATE Wayne Stambaugh <stambaughw@verizon.net> 2009-Feb-04 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================ ================================================================================
++All ++All
......
...@@ -79,8 +79,8 @@ void SCH_ITEM::Place( WinEDA_SchematicFrame* frame, wxDC* DC ) ...@@ -79,8 +79,8 @@ void SCH_ITEM::Place( WinEDA_SchematicFrame* frame, wxDC* DC )
/* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */ /* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */
/***********************************************************************/ /***********************************************************************/
/* Default EESchema zoom values. */ /* Default EESchema zoom values. 3th root of 2 series up to 32 */
static int SchematicZoomList[] = { 10, 15, 20, 40, 80, 160, 320, 640, 1280 }; static int SchematicZoomList[] = { 10, 13, 16, 20, 25, 32, 40, 50, 63, 80, 101, 127, 160, 202, 254, 320, 640, 1280 };
#define SCHEMATIC_ZOOM_LIST_CNT ( sizeof( SchematicZoomList ) / \ #define SCHEMATIC_ZOOM_LIST_CNT ( sizeof( SchematicZoomList ) / \
sizeof( int ) ) sizeof( int ) )
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
#include "id.h" #include "id.h"
/* Default PCB zoom coefficients. */ /* Default PCB zoom coefficients. 3th root of 2 series up to 256 */
static const int PcbZoomList[] = { 5, 10, 15, 20, 40, 80, 160, 320, 640, 1280, static const int PcbZoomList[] = { 5, 6, 8, 10, 13, 16, 20, 25, 32, 40, 50, 63, 80, 101, 127, 160, 202, 254, 320,
2560, 5120, 10240, 20480 }; 403, 508, 640, 806, 1016, 1280, 1613, 2032, 2560, 5120, 10240, 20480 };
#define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) ) #define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment