public virtual bool NeedRender(ISvgRenderer renderer)
{
// We make this assumption so that the first pass is still fast
// That way we don't have to calculate the screen regions
// Before a full rerender
if (screenRegion == RectangleF.Empty)
return true;
if (renderer.InvalidRect == RectangleF.Empty)
return true;
if (renderer.InvalidRect.IntersectsWith(screenRegion))
// TODO: Eventually add a full path check here?
return true;
return false;
}