Reference articles on history, science, culture and more
Encyclopedia

Layout (computing)

In computing, layout is the process of calculating the position of objects in space subject to various constraints. This functionality can be part of an application or packaged as a reusable component or library.

01Examples

  • Page layout is the computation of the position of the paragraphs, tabs, sentences, words and letters of a text. This is done by desktop publishing software, typesetting software, and web browsers. These programs typically have dedicated layout routines to calculate the correct position of glyphs and embedded images.
  • Some widget toolkits include a layout manager. This component automatically calculates a widget's position based on alignment constraints without the need for the programmer to specify absolute coordinates.
  • Graph drawing software automatically determine the position of the vertexes and edges of a graph with various goals like minimization of the number of edge intersections, minimization of total area or production of an aesthetically pleasing result.
  • Electronic design automation tools for the place and route step.
Watch videos about Layout (computing)Explainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Layout (computing), written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.