← Back to team overview

kicad-developers team mailing list archive

PATCH: Add two finer zoom levels in eeschema/libedit

 

Hi,

eeschema and libedit don't have enough zoom levels. The finest grid is 1mil, but at the finest zoom level, there are barely two pixels for each grid point, making it bloody impossible to *use* these fine grid settings. Fine grid is particularly useful in libedit when you want to carefully tweak a symbol - I drop to 1 or 2 mils quite frequently when editing symbols, myself, particularly complex ones.

Given how uncontroversial I think this patch is, I expect it will be very unpopular ;) but if not, here it is. This adds two more zoom levels at the fine end to eeschema and libedit.

--
Chris

commit bd368c042e08222332cdc8c40c70cc3803c318d8
Author: Chris Pavlina <cpavlin1@xxxxxxxxxxxxxx>
Date:   Thu Nov 19 18:15:57 2015 -0500

    Add zoom levels

diff --git a/eeschema/sch_screen.cpp b/eeschema/sch_screen.cpp
index c2f8201..bc633db 100644
--- a/eeschema/sch_screen.cpp
+++ b/eeschema/sch_screen.cpp
@@ -63,7 +63,7 @@
  */
 static double SchematicZoomList[] =
 {
-    0.5, 0.7, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 8.0, 11.0,
+    0.1, 0.2, 0.5, 0.7, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0, 8.0, 11.0,
     13.0, 16.0, 20.0, 26.0, 32.0, 48.0, 64.0, 80.0, 128.0
 };