draw2d is a widget framework based on canvas