[Panel-devel] CardLayout and PositionLayout

Petri Damstén petri.damsten at dnainternet.net
Thu Oct 11 13:15:26 CEST 2007


On Thursday 11 October 2007 11:48:00 Ivan Čukić wrote:
> I'll probably make the point coordinates to be defined by four values (so
> the rectangle coordinates would be defined by eight values)
>  - xr, yr, xa, ya - the real coordinates would be calculated in the
> following manner:
>    x = (xr * width) + xa; y = (yr * height) + ya
> This way the middle point and corners would not be privileged, and all the
> dirty hacks would be removed.

I like this it's even more flexible :-)

Petri

-- 
A conclusion is simply the place where you got tired of thinking.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071011/5016f452/attachment.pgp 


More information about the Panel-devel mailing list