dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/samples FormsTest.cs,1.10,1.11


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/samples FormsTest.cs,1.10,1.11
Date: Sat, 11 Oct 2003 03:59:04 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/samples
In directory subversions:/tmp/cvs-serv26489/samples

Modified Files:
        FormsTest.cs 
Log Message:


Profile-related fixes.


Index: FormsTest.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/FormsTest.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** FormsTest.cs        10 Oct 2003 15:52:53 -0000      1.10
--- FormsTest.cs        11 Oct 2003 03:59:02 -0000      1.11
***************
*** 1872,1876 ****
--- 1872,1878 ----
                                        sf.SetMeasurableCharacterRanges(new 
CharacterRange[] { new CharacterRange(0,1), new CharacterRange(1,1) });
                                        RectangleF re = 
g.MeasureCharacterRanges("jM",f,new Rectangle(0,0,100,100),sf)[0].GetBounds(g);
+                               #if CONFIG_EXTENDED_NUMERICS
                                        g.DrawString("jM Meas:" + re.Left +"," 
+ re.Top + "," + re.Width + "," + re.Height, f, b, x, y);
+                               #endif
                                        y+=20;
                                        g.DrawString("jM", f, b, x, y, sf);
***************
*** 1880,1884 ****
--- 1882,1888 ----
                                        DrawPrimitive(g, 19, "Arial 10", out x, 
out y);
                                        re = 
g.MeasureCharacterRanges("jM",f,new Rectangle(0,0,100,100),sf)[1].GetBounds(g);
+                               #if CONFIG_EXTENDED_NUMERICS
                                        g.DrawString("jM Meas:" + re.Left +"," 
+ re.Top + "," + re.Width + "," + re.Height, f, b, x, y);
+                               #endif
                                        y+=20;
                                        g.DrawString("jM", f, b, x, y, sf);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]