[Mono-dev] Can libgdiplus be used in wine or windows?

Sebastien Pouliot sebastien.pouliot at gmail.com
Tue Jul 13 10:58:43 EDT 2010


On Tue, 2010-07-13 at 07:44 -0700, oken wrote:
> "In Windows Mono uses the GDI+ library that is included with the operating
> system (GDIPLUS.DLL, while in UNIX we provide an implementation of this API
> in the libgdiplus.so shared library. " These comes from
> http://www.mono-project.com/Drawing
> 
> Now i have a few questions:
> 1. Can libgdiplus be used in wine or windows without using the windows's
> gdiplus.dll?

No, at least not right now - but it could be modified to do so. OTOH
both wine and windows provide a GDI+ library so the actual value of
doing this seems pretty low.

> 2. Can we compile a gdiplus.dll whiche can be used by wien or windows using
> the source of libgdiplus(http://www.mono-project.com/Libgdiplus)

Same as above. It's not impossible - just not/never done.

> 3. As both wine and mono implements he same C Flat API as the GDIPLUS.DLL. 
> Can we use mono's libgdiplus tho replace wine's?

Maybe, I don't know enough about wine to tell you how exhaustive the
change would need to be.

> If find it very hard to make it. As the libgdiplus depends on other
> libraries!

Heh, libgdiplus was made for Mono/Linux, specifically to support
System.Drawing and System.Windows.Forms, and not to be optimal (or even
working) on different scenarios.

> If your anwer is yes, please teach me how to do that!
> Many thanks!
>  
> BTW:Wine lets you run Windows software on other operating systems. With
> Wine, you can install and run these applications just like you would in
> Windows.(http://www.winehq.org/about/)
> 
> 




More information about the Mono-devel-list mailing list