Hook in the drawing view.