[Top][All Lists]
[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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Drawing.Win32 DrawingGraphics.cs, 1.11, 1.12,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ColorDialog.cs, 1.1, 1.2 ListBox.cs, 1.6, 1.7 ScrollBar.cs, 1.7, 1.8 TextBox.cs, 1.14, 1.15
- Next by Date:
[Dotgnu-pnet-commits] pnetlib/System.Drawing Bitmap.cs, 1.6, 1.7 Color.cs, 1.2, 1.3 ContentAlignment.cs, 1.1, 1.2 Font.cs, 1.6, 1.7 Graphics.cs, 1.16, 1.17 ImageFormatConverter.cs, 1.2, 1.3 Region.cs, 1.6, 1.7
- Previous by thread:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ColorDialog.cs, 1.1, 1.2 ListBox.cs, 1.6, 1.7 ScrollBar.cs, 1.7, 1.8 TextBox.cs, 1.14, 1.15
- Next by thread:
[Dotgnu-pnet-commits] pnetlib/System.Drawing Bitmap.cs, 1.6, 1.7 Color.cs, 1.2, 1.3 ContentAlignment.cs, 1.1, 1.2 Font.cs, 1.6, 1.7 Graphics.cs, 1.16, 1.17 ImageFormatConverter.cs, 1.2, 1.3 Region.cs, 1.6, 1.7
- Index(es):