GenericCanvas
The Generic Canvas is the main visual control used in MySQL Workbench. It uses OpenGL as underlying library for its work and can therefore take advantage of hardware acceleration of modern graphic boards.
[edit] General design
Due to the requirements for Generic Canvas it was necessary to divide its implementation into a part that is common on all platforms and one that is specific for each supported platform. The platform dependant part (called Generic Canvas Viewer) manages the creation of a window and an OpenGL rendering context. It communicates with the Generic Canvas library and provides it with mouse input events. This article won't go deeper into details about the platform specific parts, though.
The Generic Canvas library