cache drawing info