[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: g_hook.c



  User: pcjc2   
  Date: 07/04/12 14:43:09

  Modified:    .        Tag: noscreen g_hook.c
  Log:
  Fixed a number of mis-uses of world_get_complex_bounds(). A grep shows no more remain.
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.3  +4 -2      eda/geda/gaf/gschem/src/g_hook.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_hook.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_hook.c,v
  retrieving revision 1.13.2.2
  retrieving revision 1.13.2.3
  diff -u -b -r1.13.2.2 -r1.13.2.3
  --- g_hook.c	25 Feb 2007 13:36:57 -0000	1.13.2.2
  +++ g_hook.c	12 Apr 2007 18:43:09 -0000	1.13.2.3
  @@ -490,8 +490,10 @@
    *  The object types are those used in (OBJECT *)->type converted into strings.
    *  \return a list of the bounds of the <B>object smob</B>. 
    *  The list has the format: ( (left right) (top bottom) )
  - *  I got top and bottom values reversed from world_get_complex_bounds,
  - *  so don\'t rely on the position in the list. 
  + *  WARNING: top and bottom are mis-named in world-coords,
  + *  top is the smallest "y" value, and bottom is the largest.
  + *  Be careful! This doesn't correspond to what you'd expect,
  + *  nor to the coordinate system who's origin is the bottom, left of the page.
    */
   SCM g_get_object_bounds (SCM object_smob, SCM scm_exclude_attribs, SCM scm_exclude_object_type)
   {
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs