Skip to content

Commit

Permalink
Add missing file to drawing.md
Browse files Browse the repository at this point in the history
Fixes #626
  • Loading branch information
akoeplinger committed Nov 22, 2023
1 parent d1ecc2b commit 57f9426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/gui/drawing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ The System.Drawing implementation in Mono is designed to be compatible with the

Our implementation is a C# wrapper around the GDI+ C API (also called the ["GDI+ Flat API"](http://msdn.microsoft.com/en-us/library/ms533969(v=vs.85).aspx)). This means that the C# code is the same for Windows and UNIX systems. The following graph explains the situation:

[![Drawing architecture.png](/images/System-drawing.png)]

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. Our [libgdiplus](/docs/gui/libgdiplus/) has the same C Flat API as the `GDIPLUS.DLL`. The C# code that implement System.Drawing is the same for Windows and UNIX builds. Since this is an implementation of an existing Microsoft API no architectural changes go here.

Our implementation currently exposes the 1.1 and 2.0 APIs, with a few limitations from the underlying GDI+ implementation. The details are tracked on the [GDI+ todo page](https://github.com/mono/libgdiplus/blob/master/TODO).
Expand Down
Binary file added images/System-drawing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 57f9426

Please sign in to comment.