What is the Mac OSX Expose algorithm?
I am looking开发者_Go百科 for an algorithm to organise squares in space in a similar fashion the OSX expose feature does.
Thanks - rS
It's more involved than just filling a grid if you actively try to minimize unused space, as windows can have different aspect ratios. See this example. You can find code that does this in KDE's kwin implementation of the Present Windows effect.
精彩评论