I've been busy with school and also with preparing for the upcoming
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Tue, 20 Jan 2004 04:44:52 +0000 (04:44 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Tue, 20 Jan 2004 04:44:52 +0000 (04:44 -0000)
commitdc30685e5fd4bf7c96f304e922166ce54b6a9abf
treeeedd6cfeef6ef5c74e3869d79665d779037c8557
parent9d4f8be84922555ed3263c13a76f36e0d695cff5
I've been busy with school and also with preparing for the upcoming
release, so I haven't been spending a lot of time on
GraphicsPath. Rather than letting my changes go stale, I'll commit
them now while they are still in a compilable state.

* GraphicsPath.cs: Implemented. Still needs testing, though.
Particular the PathPoints property, I ran into a P/Invoke problem,
I need to first fix that before I can go on with the rest of the testing.

* gdipFunctions.cs: Import functions for GraphicsPath.

* graphics-path.c (GdipGetPathPoints): Fixed.
(GdipCreatePath): Remember to initialize the arrays instead of
just setting them to NULL.
(GdipGetPathTypes, GdipGetPathPoints): Fix signature.

* Makefile (local_sources): Add graphics-path.c to the build.

* Matrix.cs (Matrix): Removed reference to GpRect/GpRectF.

* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Removed reference to GpRectF.

* gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
Removed. Didn't know that structs are laid out sequentially by
default. We don't need these anymore.

svn path=/trunk/mcs/; revision=22282
14 files changed:
mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs
mcs/class/System.Drawing/System.Drawing.Drawing2D/Matrix.cs
mcs/class/System.Drawing/System.Drawing/Bitmap.cs
mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Graphics.cs
mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs
mcs/class/System.Drawing/System.Drawing/gdipStructs.cs
mcs/class/System.Drawing/gdiplus/ChangeLog
mcs/class/System.Drawing/gdiplus/Makefile
mcs/class/System.Drawing/gdiplus/gdip.h
mcs/class/System.Drawing/gdiplus/graphics-path.c
mcs/class/System.Drawing/gdiplus/graphics-path.h
mcs/class/System.Drawing/gdiplus/matrix.c