A cross-platform graphic framework