/// <summary>
 /// Installs a callback that can be used to invalidate the screen.
 /// </summary>
 /// <param name="handler"></param>
 public void InstallInvalidateDrawingSurfaceHandler(InvalidateDrawingSurfaceHandler handler)
 {
     m_invalidateDrawingSurfaceHandler = handler;
 }
 /// <summary>
 /// Installs a callback function for invalidating the surface of the screen.
 /// </summary>
 public void InstallInvalidateDrawingSurfaceHandler(InvalidateDrawingSurfaceHandler handler)
 {
    m_painter.InstallInvalidateDrawingSurfaceHandler(handler);
 }