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

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

[Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingGraphics.cs, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingGraphics.cs, 1.11, 1.12
Date: Mon, 29 Sep 2003 03:56:41 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32
In directory subversions:/tmp/cvs-serv28227/System.Drawing.Win32

Modified Files:
        DrawingGraphics.cs 
Log Message:


More fixes for build profiles, particularly those lacking floating point.


Index: DrawingGraphics.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Win32/DrawingGraphics.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** DrawingGraphics.cs  28 Sep 2003 22:20:05 -0000      1.11
--- DrawingGraphics.cs  29 Sep 2003 03:56:39 -0000      1.12
***************
*** 111,114 ****
--- 111,116 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
+ 
        // Draw an arc within a rectangle defined by four points.
        public override void DrawArc( System.Drawing.Point[] rect, float 
startAngle, float sweepAngle )
***************
*** 163,166 ****
--- 165,192 ----
                                return new Rectangle(p1X, p1Y, p2X - p1X, p2Y - 
p1Y);
                        }
+ 
+ #else // !CONFIG_EXTENDED_NUMERICS
+ 
+       // TODO: arc routines that don't need to use the "Math" class.
+ 
+       // Draw an arc within a rectangle defined by four points.
+       public override void DrawArc( System.Drawing.Point[] rect, float 
startAngle, float sweepAngle )
+                       {
+                               // TODO
+                       }
+ 
+       // Draw a pie slice within a rectangle defined by four points.
+       public override void DrawPie ( System.Drawing.Point[] rect, float 
startAngle, float sweepAngle )
+                       {
+                               // TODO
+                       }
+ 
+       // Fill a pie slice within a rectangle defined by four points.
+       public override void FillPie ( System.Drawing.Point[] rect, float 
startAngle, float sweepAngle )
+                       {
+                               // TODO
+                       }
+ 
+ #endif // CONFIG_EXTENDED_NUMERICS
  
        // Draw a string using the current font and brush.





reply via email to

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