摘要 |
<p>Particular embodiments of a computing device determine unoccupied positions in a display grid, wherein the grid corresponds to specifications for a displayable region of a screen associated with a computing device. A plurality of image elements are identified as candidates for placement within the grid. Then, while at least one unoccupied position and at least one candidate image element remain, one of the candidate image elements is matched to a set of the unoccupied positions, and the positions in the matched set are designated as occupied by the matched image element. Matching may be based on a pattern of positions, which is determined using the size and the shape of the image element and a size of a position in the grid. Layout information is then provided to render the image elements in accordance with placement of each matched image element at the designated positions in the grid.</p> |