Skip to content

Commit eeef2cb

Browse files
authored
Update README.md
Add a list of supported platforms.
1 parent 8878280 commit eeef2cb

File tree

1 file changed

+48
-3
lines changed

1 file changed

+48
-3
lines changed

README.md

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,51 @@
11
# CairoSharp
22
A C# wrapper of cairo. All its dependcies included.
33

4+
Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System (via both Xlib and XCB), Win32, image buffers.
5+
6+
# Platforms
7+
Cairo only works on desktop platforms, and so does CarioSharp.
8+
9+
* Desktop
10+
- Windows
11+
12+
Platform | Supported
13+
--------------------------------|-----------
14+
Console Application | Yes
15+
Winform | Yes
16+
WPF | Yes
17+
Universal Windows Platform (UWP)| No
18+
19+
- Linux
20+
21+
Yes (tested for an older version).
22+
23+
- macOS
24+
25+
Unknown, not tested. The former Mono.Cairo should work on macOS, so it is very likely that CairoSharp also works.
26+
27+
* Mobile
28+
- Windows
29+
30+
Platform | Supported
31+
--------------------------------|-----------
32+
Windows Phone 8.1 | No
33+
Universal Windows Platform (UWP)| No
34+
35+
- iOS
36+
37+
Unknown, not tested.
38+
39+
- Android
40+
41+
Unknown, not tested.
42+
43+
__Note__
44+
Cairo won't compile on UWP or Windows Phone platforms. Because cairo(native) and its dependencies use some c runtime functions and Win32 APIs that are incompatible with the Windows Runtime apps, such as [GradientFill](https://msdn.microsoft.com/en-us/library/dd144957.aspx), which is desktop apps only.
45+
46+
__Note__
47+
The cairo-gl backend won't compile on all windows platforms: [`wglGetProcAddress` issue (2016 October)](https://lists.cairographics.org/archives/cairo/2016-October/027774.html), [`wglGetProcAddress` issue (2013 April)](https://lists.cairographics.org/archives/cairo/2013-April/024201.html)
48+
449
# [Documentation](https://github.com/zwcloud/CairoSharp/wiki)
550

651
# Copying/License
@@ -23,17 +68,17 @@ Project Cairo(not the native cairo lib but the C# one) is licensed under the LGP
2368
You should have received a copy of the GNU Lesser General Public License
2469
along with this program. If not, see <http://www.gnu.org/licenses/>.
2570

26-
The C# code files in Cairo project is orginally Taken from Mono/[GTK#](https://github.com/mono/gtk-sharp/tree/master/cairo)(Version 3.0.0), licensed under the GNU LGPL. Copying info:
71+
The C# code files in Cairo project was taken from Mono/[GTK#](https://github.com/mono/gtk-sharp/tree/master/cairo)(Version 3.0.0), licensed under the GNU LGPL. Copying info:
2772

2873
Copyright (C) 2007-2015 Xamarin, Inc.
2974
Copyright (C) 2006 Alp Toker
3075
Copyright (C) 2005 John Luke
3176
Copyright (C) 2004 Novell, Inc (http://www.novell.com)
3277
Copyright (C) Ximian, Inc. 2003
3378

34-
The [Native project files](https://github.com/zwcloud/CairoSharp/tree/master/Native/projects) is generated according to a VS2015 Solution from [Cairo-VS](https://github.com/DomAmato/Cairo-VS).
79+
## Native libraries
3580

36-
**About other native libraries:**
81+
The [Native project files](https://github.com/zwcloud/CairoSharp/tree/master/Native/projects) is generated according to a VS2015 Solution from [Cairo-VS](https://github.com/DomAmato/Cairo-VS).
3782

3883
* [cairo](http://www.cairographics.org/)
3984
Version 1.15.2

0 commit comments

Comments
 (0)