Canvas (GUI)

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.[1]

Library support

Various free and open-source canvas or scene-graph libraries allow developers to construct a user interface and/or user-interface elements for their computer programs.[2]

Examples of free and open-source scene-graph canvas options include:

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

Proprietary canvas libraries include, for example:

gollark: Yes.
gollark: Multiple lines will simplify actually figuring out where an error was from.
gollark: Ah, yes, ye olden "hahaha lol I am too lazy to write an interpreter transpiling is cool lol".
gollark: ???
gollark: 🌵 🌵 🌵 🍕

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.