04 | December | 2012 | Web Platform Team Blog



Web Platform Team Blog

Making the web awesome

Archive for December 4th, 2012

First Fit Layout Location for Rounded Rectangles

In the past, Hans has explained the first-fit layout algorithm for polygonal shaped exclusions. This algorithm is used to find the topmost location that a content box can fit into. Now he has written up a post on using the first-fit algorithm on rounded rectangle shapes. Interestingly enough, rounded rectangles do not only include rectangles with rounded corners;... Continue reading →