On Mon, 19 Apr 2004 20:07:13 -0400 John Charnas <[EMAIL PROTECTED]> babbled:

> yeah, I've read the info on cuddletech. I spoke to Atmos on #edevelop,
> and I think I got it... it's just that I didn't understand how the
> coordinate system worked. I'll see if I understood properly and give it
> a kick...

hmm - damn - we should write a doc.
well the co-ords are pixels (or canvas units) they are specified as the top-left
corner and bottom right corner of a "part" (rel1 and rel2 respectively) the rel
values are 0.0-.1.0 (tho not limited to this) as relative to another parts
geometry 0.0 being left/top and 1.0 = right/bottom 0.5 = middle. you can then
specify an absolute offset form this relative position - this basically lets you
do 90% of what anyone would ever want with positioning and layout.

then theres min/max/step size constraints, alignment if the desired size is
different to the constrained size (ie how to align it relative to the desired
size rect)... god... its a lot of stuff... much more than that even... :)

> Thanks though
> John
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to