a cross-platform  base graphic lib