Canvas (GUI)

From Wikipedia, the free encyclopedia

In computer science and visualization, a canvas is a container that holds various drawing elements (lines, shapes, text, frames containing other elements, etc.). It takes its name from the canvas used in visual arts. It is sometimes called a scene graph because it arranges the logical representation of a user interface or graphical scene. Some implementations also define the spatial representation and allow the user to interact with the elements via a graphical user interface.

See this article for an overview (2010-08-15) of a small handful of canvas implementations.

Library support

Various free and open-source canvas or scene graph libraries are available for developers to use to create a user interface and/ or user interface elements for their computer programs.

Example libre scene-graph canvas options include:

There are canvas modules within various libraries which do not provide the power of a full scene-graph. That is, they operate at a lower level which requires the programmer to provide code such as mapping mouse-clicks to objects in the canvas. Examples libraries which include such a canvas module include:

There are proprietary canvas libraries as well, for example:

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.