Principle

The Vector Graphics Pack features an extension of the User Interface Pack that implements the MicroVG API.

The diagram below shows a simplified view of the components involved in the provisioning of Vector Graphics Extension.

Overview

Overview

The modules responsible to manage the Matrix, the Path, the Gradient, the Image and the Font are respectively called Matrix module, Path module, Gradient module, Image module and Font module. These five low-level parts connect the MicroVG library to the user-supplied drivers code (coded in C). The drivers can use hardware accelerators like GPU to perform specific actions (matrix computations, path rendering, font decoding, etc.).

The MicroEJ Simulator provides all features of the MicroVG library. The five modules are grouped in a module called Front Panel. The Front Panel is an extension of the UI Pack’s Front Panel mock.