[Mono-devel-list] Implementation of System.Drawing

Miguel de Icaza miguel at ximian.com
Thu Apr 24 19:56:43 EDT 2003


> I prepared a patch for the System.Drawing:
> http://www.geocities.com/pigolkine/SysDrawing.patch.tar.gz
> I hope that there is some time to consider whether it's OK to include 
> the code in the release.

I reviewed the patch, and it looks fine.  Lets just make it build.

I noticed that the Win32 factory is hardcoded, could we make the
factories use:

	factory_ = Factories.GetBitmapFactory ();

And for now, we do:

internal class Factories {
	IBitmap GetBitmapFactory ()
		return System.Drawing.Win32Impl.BitmapFactory ();

Later, we have a single place to change the implementation to
dynamically choose a different engine (based on environment variables,
configuration files, assemblies, or some other mechanism).


More information about the Mono-devel-list mailing list