How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.
This library is a portable, header-only engine designed for calculating the geometric positions and dimensions of nested rectangular elements. It provides a recursive stacking-box model to determine interface coordinates, serving as a lightweight solution for two-dimensional layout calculations in C99 or C++ environments.
The main features of randrew/layout are: Layout Engines, Layout Calculations, C99 UI Layout Libraries, Cross-Platform Layout Engines, Stacking Calculators, Custom Memory Allocators, Header-Only C Libraries, Precision-Switched Float Builds.
Open-source alternatives to randrew/layout include: react/yoga — Yoga is a cross-platform layout engine and embeddable core that determines the dimensions and offsets of hierarchical… mikke89/rmlui — RmlUi is a cross-platform UI renderer and middleware library that enables the creation of user interfaces using a… facebook/litho — Litho is an Android declarative UI framework and component library used to build user interfaces through a declarative… migueldeicaza/gui.cs — gui.cs is a .NET terminal user interface toolkit and framework used to build interactive, cross-platform text-based… duilib/duilib — Duilib is a Windows UI library and custom rendering engine designed for building high-performance graphical user… xamarin/xamarin.forms — Xamarin.Forms is a cross-platform mobile framework for building native user interfaces using a single shared codebase…
Yoga is a cross-platform layout engine and embeddable core that determines the dimensions and offsets of hierarchical element trees. It provides a C++ implementation of the Flexbox layout model to calculate element positions and sizes based on web standards, ensuring a uniform appearance across diverse devices and operating systems. The engine is designed for portability via a C API, allowing the layout logic to be integrated into various host languages and platforms. It utilizes an incremental layout system that identifies modified subtrees and recalculates positions only for changed nodes a
RmlUi is a cross-platform UI renderer and middleware library that enables the creation of user interfaces using a subset of HTML and CSS. It functions as a rendering-agnostic layer designed to integrate web-standard layout and styling into custom game engines and embedded applications. The framework is distinguished by its integration of Lua for dynamic logic and control, as well as a specialized toolkit for rendering SVG images and Lottie animations. It utilizes a pluggable rendering backend that decouples geometry generation from the final display, allowing it to generate textured geometry
gui.cs is a .NET terminal user interface toolkit and framework used to build interactive, cross-platform text-based applications. It provides a structured system for composing terminal views using a view hierarchy and a dedicated layout engine. The library distinguishes itself through a component-based widget system and a constraint-based layout engine that allows interfaces to remain responsive across different terminal window dimensions. It employs a virtual-screen buffer to minimize flickering during redraws and uses state-driven theme configurations to maintain persistent visual styles.
Duilib is a Windows UI library and custom rendering engine designed for building high-performance graphical user interfaces for PC client software. It functions as a DirectUI framework that allows for the creation of bespoke layouts and tailored interface elements without relying on standard operating system controls. The framework implements a direct user interface approach to render custom graphical elements. This allows for the design of non-standard visual layouts for desktop applications, including those that require high-performance rendering for resource-heavy software. The system cov