Author: toshok
Date: 2008-01-29 01:25:51 -0500 (Tue, 29 Jan 2008)
New Revision: 94230
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/brush.cpp
trunk/moon/src/uielement.cpp
Log:
2008-01-28 Chris Toshok <[EMAIL PROTECTED]>
* brush.cpp (VisualBrush::SetupBrush): RoundOut doesn't update
inplace, it returns the new rect.
* uielement.cpp (UIElement::DoRender): same change.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2008-01-29 04:02:14 UTC (rev 94229)
+++ trunk/moon/src/ChangeLog 2008-01-29 06:25:51 UTC (rev 94230)
@@ -1,3 +1,10 @@
+2008-01-28 Chris Toshok <[EMAIL PROTECTED]>
+
+ * brush.cpp (VisualBrush::SetupBrush): RoundOut doesn't update
+ inplace, it returns the new rect.
+
+ * uielement.cpp (UIElement::DoRender): same change.
+
2008-01-28 Jeffrey Stedfast <[EMAIL PROTECTED]>
* pipeline.cpp (FindMpegHeader): Validate that the sequence is
Modified: trunk/moon/src/brush.cpp
===================================================================
--- trunk/moon/src/brush.cpp 2008-01-29 04:02:14 UTC (rev 94229)
+++ trunk/moon/src/brush.cpp 2008-01-29 06:25:51 UTC (rev 94230)
@@ -1114,8 +1114,7 @@
// XXX we should cache the surface so that it can be
// used multiple times without having to re-render each time.
- Rect bounds = ui->GetSubtreeBounds();
- bounds.RoundOut ();
+ Rect bounds = ui->GetSubtreeBounds().RoundOut ();
surface = image_brush_create_similar (cr,
(int)bounds.w,
Modified: trunk/moon/src/uielement.cpp
===================================================================
--- trunk/moon/src/uielement.cpp 2008-01-29 04:02:14 UTC (rev 94229)
+++ trunk/moon/src/uielement.cpp 2008-01-29 06:25:51 UTC (rev 94230)
@@ -504,8 +504,7 @@
RenderClipPath (cr);
if (opacityMask || IS_TRANSLUCENT (local_opacity)) {
- Rect r = GetSubtreeBounds ();
- r.RoundOut ();
+ Rect r = GetSubtreeBounds ().RoundOut();
cairo_save (cr);
cairo_identity_matrix (cr);
runtime_cairo_region (cr, region->gdkregion);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches