Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=82530

--- shadow/82530        2007-08-27 09:51:00.000000000 -0400
+++ shadow/82530.tmp.28146      2007-09-04 11:37:14.000000000 -0400
@@ -93,6 +93,38 @@
 g_warning ("avoided building Rectangle path");
                return;
        }
 
 This hack, if working, would be useful when both loading XAML and
 under "normal" (code) circumstances.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-09-04 11:37 -------
+while tracking another issue I found out that a single TextBlock in an
+XAML file can call TextBlock::CalcActualWidthHeight 6 times (of course
+that depends on the number of attributes) all of them required to
+create/destroy a cairo context.
+
+TextBlock::CalcActualWidthHeight w 0 h 19 destroy TRUE
+TextBlock::CalcActualWidthHeight w 21 h 18 destroy TRUE
+TextBlock::CalcActualWidthHeight w 10 h 9 destroy TRUE
+TextBlock::CalcActualWidthHeight w 9 h 9 destroy TRUE
+TextBlock::CalcActualWidthHeight w 10 h 9 destroy TRUE
+TextBlock::CalcActualWidthHeight w 10 h 9 destroy TRUE
+
+
+<Canvas
+xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";
+Width="100" Height="110"
+xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";>
+              <Canvas x:Name="nameOkButton">
+
+                <Rectangle Width="60" Height="49" Fill="#44000000"
+Stroke="#66000000" StrokeThickness="2.2" Canvas.Left="310"/>
+
+                <TextBlock Canvas.Left="325" Canvas.Top="10" Text="OK"
+FontSize="7" FontFamily="Arial" FontWeight="ExtraBlack"
+Foreground="#FF474E93" RenderTransform="3,0,0,4,0,0"/>
+
+              </Canvas>
+
+</Canvas>
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to