delete track uses dirty rect

This commit is contained in:
dickelbeck 2008-03-10 15:02:27 +00:00
parent 3bb1764dff
commit bc04d5e54c
1 changed files with 4 additions and 4 deletions

View File

@ -218,10 +218,10 @@ EDA_Rect TRACK::GetBoundingBox() const
if( Type() == TYPEVIA )
{
// because vias are sometimes drawn larger than their m_Width would
// provide, erasing them using a dirty rect must also compensate for
// possibility (that the via is larger than its m_Width would provide).
// because it is cheap to return a larger BoundingBox, do it so that
// Because vias are sometimes drawn larger than their m_Width would
// provide, erasing them using a dirty rect must also compensate for this
// possibility (that the via is larger on screen than its m_Width would provide).
// Because it is cheap to return a larger BoundingBox, do it so that
// the via gets erased properly. Do not divide width by 2 for this reason.
radius = m_Width;