From 4a0fd61016205611f52ed42c143d660fec1ead59 Mon Sep 17 00:00:00 2001 From: werner Date: Sun, 9 Aug 2009 00:06:54 +0000 Subject: [PATCH] More work on measurements. Getting there ... - removed support for old-style measurements - new-style measurements are now embedded in "struct obj", so we can dump and delete them - "measxy" is now called "meas" - updated examples to use new-style measurements git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5412 99fdad57-331a-0410-800a-d7fa5415bdb3 --- README | 9 +++++---- TODO | 9 +++++++-- delete.c | 4 +++- dump.c | 42 +++++++++++++++++++++++++++++++++--------- fpd.l | 2 -- fpd.y | 44 ++++++++++++++++---------------------------- gui_inst.c | 7 +++---- gui_meas.c | 15 ++++++++------- gui_tool.c | 2 +- gui_tool.h | 1 + inst.c | 10 +++------- inst.h | 5 ++--- meas.c | 16 +++++++++------- meas.fpd | 8 ++++---- meas.h | 12 ++++++------ obj.c | 10 +--------- obj.h | 8 ++------ qfn.fpd | 6 +++--- sc89.fpd | 2 -- 19 files changed, 107 insertions(+), 105 deletions(-) diff --git a/README b/README index 0723aa4..72e7561 100644 --- a/README +++ b/README @@ -202,6 +202,8 @@ pad "1" @ . Measurements - - - - - - +*** This is obsolete - see the section on new-style mesurements at the end. *** + Measurements show the distance between two points: meas @@ -439,16 +441,15 @@ New-style measurements are placed in the root frame after all other items. Known issues: -- they are currently not dumped and they can't be entered or edited - through the GUI -- +- they currently can't be edited through the GUI +- tie-breaking heuristics don't always do what one expects Syntax: [