A vector-based graphical user interface is a mostly conceptual type of
graphical user interface
A graphical user interface, or GUI, is a form of user interface that allows user (computing), users to human–computer interaction, interact with electronic devices through Graphics, graphical icon (computing), icons and visual indicators such ...
where elements are drawn using
vector
Vector most often refers to:
* Euclidean vector, a quantity with a magnitude and a direction
* Disease vector, an agent that carries and transmits an infectious pathogen into another living organism
Vector may also refer to:
Mathematics a ...
information instead of
raster information.
Pros and cons
The benefits of a completely vector-based graphical user interface would include:
:*more efficient, independent scalability; The resolution (measured in
dots per inch
Dots per inch (DPI, or dpiThe acronym appears in sources as either "DPI" or lowercase "dpi". See "Print Resolution Understanding 4-bit depth – Xerox" (PDF). Xerox.com. September 2012.) is a measure of spatial printing, video or image scanner ...
or DPI) could be set higher or lower than 1px:1px without causing
pixelation, enabling better use of high resolution monitors.
Cons might include:
:*Difficulty integrating raster-based applications. With some effort, this could be accomplished by texturing the entire raster-based application to a vector-based plane (though the disadvantages of raster-based graphics would still stand).
:*Slower rendering, greater system requirements. Because today's monitors display only raster-based information, the vector information would have to be rasterized (and optionally
anti-aliased Anti-aliasing may refer to any of a number of techniques to combat the problems of aliasing in a sampled signal such as a digital image or digital audio recording.
Specific topics in anti-aliasing include:
* Anti-aliasing filter, a filter used b ...
) before appearing.
Usage in 3D graphical user interfaces
Since current
3D Graphics
3D computer graphics, sometimes called CGI, 3D-CGI or three-dimensional computer graphics, are graphics that use a three-dimensional representation of geometric data (often Cartesian) that is stored in the computer for the purposes of perfor ...
are usually vector-based, rather than raster-based, vector-based graphical user interfaces would be suitable for 3D graphical user interfaces. This is because raster-based 3D models take up an enormous amount of memory, as they are stored and displayed using
voxel
In computing, a voxel is a representation of a value on a three-dimensional regular grid, akin to the two-dimensional pixel. Voxels are frequently used in the Data visualization, visualization and analysis of medical imaging, medical and scient ...
s. Current
operating systems
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
such as
Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, released five years earlier, which was then the longest time span between successive releases of Microsoft W ...
,
Mac OS X
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
, and
UNIX-based operating systems (including
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
) have enjoyed much benefit from using 3D graphical user interfaces. In Windows Vista, for example,
Flip3D textures each window to a 3D plane based on vector graphics. Even though the window itself is still raster-based, the plane onto which it is textured is vector-based. As a result, the windows, when rotated, appear flat. In Linux desktops,
Compiz Fusion can texture each raster-based workspace onto a 3D vector-based cube. As operating systems evolve, eventually the entire window would be made from 3D vector graphics, so that when rotated, it does not appear "flat". Also, advanced lighting may make 3D graphical user interfaces more aesthetically pleasing.
Usage in 2D graphical user interfaces
As most computer monitors become more and more
high resolution, everything displayed would be smaller. However, if the screen resolution were turned down, everything would appear pixelated. Thus,
resolution independence
Resolution independence is where elements on a computer screen are rendered at sizes independent from the pixel grid, resulting in a graphical user interface that is displayed at a consistent physical size, regardless of the resolution of the sc ...
is currently being designed to solve this problem. With raster graphics, all icons need to be extremely high resolution, so as to not appear pixelated on higher resolution screens. This may take up enormous amounts of memory, and hard disk space. If vector graphics were used instead, it could be easily scalable and never lose data nor appear pixelated.
Some graphical user interfaces on
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
s such as
IRIX
IRIX (, ) is a discontinued operating system developed by Silicon Graphics (SGI) to run on the company's proprietary MIPS architecture, MIPS workstations and servers. It is based on UNIX System V with Berkeley Software Distribution, BSD extensio ...
use vector-based icons. A number of vector-based icon sets are also available for window managers such as
GNOME
A gnome () is a mythological creature and diminutive spirit in Renaissance magic and alchemy, introduced by Paracelsus in the 16th century and widely adopted by authors, including those of modern fantasy literature. They are typically depict ...
and
KDE
KDE is an international free software community that develops free and open-source software. As a central development hub, it provides tools and resources that enable collaborative work on its projects. Its products include the KDE Plasma gra ...
.
With Windows, applications built using
Windows Presentation Foundation
Windows Presentation Foundation (WPF) is a free and open-source user interface framework for Windows-based desktop applications. WPF applications are based in .NET, and are primarily developed using C# and XAML.
Originally developed by Microso ...
(which is native to
Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, released five years earlier, which was then the longest time span between successive releases of Microsoft W ...
, but can be downloaded for
Windows XP
Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct successor to Windows 2000 for high-end and business users a ...
and
Server 2003) are vector-based and scale losslessly based on Windows
DPI settings. However, even without this, it has always been possible to build applications to be DPI-aware. Additionally, in Vista, the
Desktop Window Manager
Desktop Window Manager (DWM, previously Desktop Compositing Engine or DCE in builds of pre-reset Windows Longhorn) is the compositing window manager in Microsoft Windows since Windows Vista that enables the use of hardware acceleration to render ...
detects when an app is not DPI aware and, if the computer is set to a different DPI than normal, uses bitmap scaling to render the window at a larger size.
High DPI Support in Windows Vista Aero
/ref>
New version of AmigaOS
AmigaOS is a family of proprietary native operating systems of the Amiga and AmigaOne personal computers. It was developed first by Commodore International and introduced with the launch of the first Amiga, the Amiga 1000, in 1985. Early versions ...
4.1 enhanced in 2008 its Workbench
A workbench is a sturdy table at which manual work is done. They range from simple flat surfaces to very complex designs that may be considered tools in themselves. Workbenches vary in size from tiny jewellers benches to the huge benches used by ...
with 2D vector graphical interface based on Cairo
Cairo ( ; , ) is the Capital city, capital and largest city of Egypt and the Cairo Governorate, being home to more than 10 million people. It is also part of the List of urban agglomerations in Africa, largest urban agglomeration in Africa, L ...
libraries, but pragmatically integrated it with a 3D Compositing Engine based on Porter-Duff Routines.
See also
* Zooming user interface
In computing, a zooming user interface or zoomable user interface (ZUI, pronounced zoo-ee) is a type of graphical user interface (GUI) where users can change the scale of the viewed area in order to see more detail or less, and browse through ...
* Resolution independence
Resolution independence is where elements on a computer screen are rendered at sizes independent from the pixel grid, resulting in a graphical user interface that is displayed at a consistent physical size, regardless of the resolution of the sc ...
References
{{reflist
Graphical user interfaces