- Fixed a typo in agg_rounded_rect.cpp

This commit is contained in:
Lucio Asnaghi 2011-10-26 20:34:13 +03:00
parent e837b46f5c
commit 180f2543b2

View file

@ -78,8 +78,8 @@ namespace agg
//-------------------------------------------------------------------- //--------------------------------------------------------------------
void rounded_rect::normalize_radius() void rounded_rect::normalize_radius()
{ {
double dx = fabs(m_y2 - m_y1); double dx = fabs(m_x2 - m_x1);
double dy = fabs(m_x2 - m_x1); double dy = fabs(m_y2 - m_y1);
double k = 1.0; double k = 1.0;
double t; double t;