The Fyne widgets (much like those in the Nuklear library in Chapter 9, nk – Nuklear for Go) are made up of simple graphical objects that the render drivers are responsible for drawing. The driver is included as part of the package, and so no additional setup is required to start an application. Similar to the Shiny toolkit (that we explored in Chapter 8, Shiny – Experimental Go GUI API), the iconography is all vector-based, which Fyne uses to create scalable user interfaces that adapt to the device screen density.
Vector graphics refers to images that are made up of lines and shapes rather than a collection of pixels (referred to as raster graphics). Whilst these images can be slower to load, they're excellent for drawing perfect images at any scale. As computer screens and smart phones have continued to increase their pixel density, measured in Dots Per Inch (DPI), it has become more difficult to produce raster graphics that look good on all devices...