fixed DoDrawEllipse() bbox calculation (patch 415116)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-04-14 22:07:42 +00:00
parent e9456d8d5b
commit 4485629732
2 changed files with 2 additions and 2 deletions

View File

@ -951,7 +951,7 @@ void wxWindowDC::DoDrawEllipse( wxCoord x, wxCoord y, wxCoord width, wxCoord hei
gdk_draw_arc( m_window, m_penGC, FALSE, xx, yy, ww, hh, 0, 360*64 );
}
CalcBoundingBox( x - width, y - height );
CalcBoundingBox( x, y );
CalcBoundingBox( x + width, y + height );
}

View File

@ -951,7 +951,7 @@ void wxWindowDC::DoDrawEllipse( wxCoord x, wxCoord y, wxCoord width, wxCoord hei
gdk_draw_arc( m_window, m_penGC, FALSE, xx, yy, ww, hh, 0, 360*64 );
}
CalcBoundingBox( x - width, y - height );
CalcBoundingBox( x, y );
CalcBoundingBox( x + width, y + height );
}