1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

Finally found a nice way to draw arcs in the GUI.

- we freed a package's samples list after recalculating the number of samples,
  which caused a crash after adding a new vector. We now record the original 
  list length in the package structure.
- when dragging a circle, offer the end point first, so that it becomes an arc



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5480 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-08-18 20:52:09 +00:00
parent de044ca61f
commit 37b52f23fe
6 changed files with 19 additions and 20 deletions

2
meas.h
View File

@@ -60,7 +60,7 @@ struct coord meas_find_next(lt_op_type lt, const struct sample *s,
struct coord meas_find_max(lt_op_type lt, const struct sample *s);
void reset_samples(struct sample **samples);
void reset_samples(struct sample **samples, int n);
void meas_start(void);
void meas_post(const struct vec *vec, struct coord pos);
int instantiate_meas(void);