Hello Josef,

On 02/22/2011 10:41 AM, Josef Grunig wrote:
> was just curious about the coordinate mapping of the MFPositions of
> the PolygonForeground (same in the PolygonBackgrond)
> When giving a negative value to a position it gets corrected this way:
> val = max + val; where max is the viewport pixelWidth or Height...
> Does this make sense?

the idea is that negative coordinates are not relative to the bottom 
left, but instead the top right viewport corner (similar to how you 
specify window locations on X11 with the standard --geometry command 
line option).
I've not looked if it is implemented correctly for all variations of 
negative and relative/absolute coords though, so if you have a case that 
behaves incorrectly, please let us know.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to