Author: spouliot
Date: 2008-02-07 09:18:06 -0500 (Thu, 07 Feb 2008)
New Revision: 95141
Modified:
trunk/moon/src/shape.cpp
Log:
oops, return the computed value
Modified: trunk/moon/src/shape.cpp
===================================================================
--- trunk/moon/src/shape.cpp 2008-02-07 14:11:38 UTC (rev 95140)
+++ trunk/moon/src/shape.cpp 2008-02-07 14:18:06 UTC (rev 95141)
@@ -771,7 +771,7 @@
double t = GetValue (Shape::StrokeThicknessProperty)->AsDouble ();
double x = (GetValue (FrameworkElement::WidthProperty)->AsDouble () -
t) * cos (M_PI_2);
double y = (GetValue (FrameworkElement::HeightProperty)->AsDouble () -
t) * sin (M_PI_2);
- Rect largest = ComputeShapeBounds ().GrowBy (-x, -y).RoundIn ();
+ return ComputeShapeBounds ().GrowBy (-x, -y).RoundIn ();
}
void
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches