pixmap interface and impl
graphics interface and impl