move drawing functions into bitmap.h