A port of a 2D graphics engine based on various sources.