lower level graphics routines used by my apps