Re: strange behaviour of relative_coordinate

2013-03-13 Thread Han-Wen Nienhuys
On Mon, Mar 11, 2013 at 4:12 AM, Janek Warchoł janek.lilyp...@gmail.com wrote: I'm a LyricText and I've caught the Stem of my parent NoteHead relative coordinate from stem to me is: 1.251178 relative coordinate from me to stem is: 0.00 Is this intentional? If so, why? I expected that

Re: strange behaviour of relative_coordinate

2013-03-13 Thread Janek Warchoł
On Wed, Mar 13, 2013 at 7:11 AM, Han-Wen Nienhuys hanw...@gmail.com wrote: IIRC, the refp should be an ancestor of the grob you're asking for. This means only one of obj-relative_coord(refp, X) refp-relative_coord(obj, X) is valid. ok - i'll continue investigating code armed with that

strange behaviour of relative_coordinate

2013-03-11 Thread Janek Warchoł
Hi, I'm poking around self-alignment-interface and functions that work with extents, offsets etc. I've found a Grob method relative_coordinate (Grob const *refp, Axis a) and i suppose its purpose is to return the offset between me and refp along axis a. So far so good, but i've noticed that