Author: pbartok
Date: 2005-03-18 17:22:53 -0500 (Fri, 18 Mar 2005)
New Revision: 42021
Modified:
trunk/libgdiplus/src/ChangeLog
trunk/libgdiplus/src/graphics-path.c
Log:
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
* graphics-path.c: Instead of throwing NotImpl exception, we display a
message that the function isn't implemented yet on the Bounds
functions
Modified: trunk/libgdiplus/src/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog 2005-03-18 22:04:21 UTC (rev 42020)
+++ trunk/libgdiplus/src/ChangeLog 2005-03-18 22:22:53 UTC (rev 42021)
@@ -1,5 +1,10 @@
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
+ * graphics-path.c: Instead of throwing NotImpl exception, we display a
+ message that the function isn't implemented yet on the Bounds
functions
+
+2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
+
* gifcodec.c: Fixed prototype for no gif lib codepath; was missed with
GCC4 changes
Modified: trunk/libgdiplus/src/graphics-path.c
===================================================================
--- trunk/libgdiplus/src/graphics-path.c 2005-03-18 22:04:21 UTC (rev
42020)
+++ trunk/libgdiplus/src/graphics-path.c 2005-03-18 22:22:53 UTC (rev
42021)
@@ -1106,40 +1106,76 @@
GpStatus
GdipGetPathWorldBounds (GpPath *path, GpRectF *bounds, const GpMatrix *matrix,
const GpPen *pen)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipGetPathWorldBounds (GpPath *path,
GpRectF *bounds, const GpMatrix *matrix, const GpPen *pen)\n");
+ called = 1;
+ }
+ return Ok;
}
/* MonoTODO */
GpStatus
GdipGetPathWorldBoundsI (GpPath *path, GpRect *bounds, const GpMatrix *matrix,
const GpPen *pen)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipGetPathWorldBoundsI (GpPath *path,
GpRect *bounds, const GpMatrix *matrix, const GpPen *pen)\n");
+ called = 1;
+ }
+ return Ok;
}
/* MonoTODO */
GpStatus
GdipIsVisiblePathPoint (GpPath *path, float x, float y, GpGraphics *graphics,
bool *result)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipIsVisiblePathPoint (GpPath *path,
float x, float y, GpGraphics *graphics, bool *result)\n");
+ called = 1;
+ }
+ return Ok;
}
/* MonoTODO */
GpStatus
GdipIsVisiblePathPointI (GpPath *path, int x, int y, GpGraphics *graphics,
bool *result)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipIsVisiblePathPointI (GpPath *path,
int x, int y, GpGraphics *graphics, bool *result)\n");
+ called = 1;
+ }
+ return Ok;
}
/* MonoTODO */
GpStatus
GdipIsOutlineVisiblePathPoint (GpPath *path, float x, float y, GpGraphics
*graphics, bool *result)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipIsOutlineVisiblePathPoint (GpPath
*path, float x, float y, GpGraphics *graphics, bool *result)\n");
+ called = 1;
+ }
+ return Ok;
}
/* MonoTODO */
GpStatus
GdipIsOutlineVisiblePathPointI (GpPath *path, int x, int y, GpGraphics
*graphics, bool *result)
{
- return NotImplemented;
+ static int called = 0;
+
+ if (!called) {
+ printf("NOT IMPLEMENTED: GdipIsOutlineVisiblePathPointI (GpPath
*path, int x, int y, GpGraphics *graphics, bool *result)\n");
+ called = 1;
+ }
+ return Ok;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches