gfoidl / CairoSharp

A C# wrapper of cairo http://cairographics.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NuGet

CairoSharp

A C# wrapper (.net standard 1.6, and .net 4.5) of cairo. All its dependcies included.

Cairo is a 2D graphics library with support for multiple output devices.

Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available. The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo including stroking and filling cubic BĂ©zier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.).

Platforms

A former release works on Windows desktop (Winform/WPF/Console Application) on .NET 4.5 and linux (tested on Ubuntu 12.04) on mono 4.2. CairoSharp was ported to .NET Core (.NET Standard 1.6) after that release.

Supported platforms:

  • windows 32bit / 64bit
  • linux 64bit (tested on Ubuntu 16.04-server)

Other platforms that support .net core may work, but have not been tested.

On Linux libcairo is a prerequisite. sudo apt-get update && sudo apt-get install -y libcairo2

Copying/License

LGPLv3
Project CairoSharp (not the native cairo lib but the C# one) is licensed under the LGPL v3 license.

CairoSharp, A C# wrapper of cairo which is a 2D vector rendering library
Copyright (C) 2017 gfoidl
Copyright (C) 2015-2017  Zou Wei, zwcloud@hotmail.com, https://zwcloud.net
Copyright (C) 2007-2015  Xamarin, Inc.
Copyright (C) 2006 Alp Toker
Copyright (C) 2005 John Luke
Copyright (C) 2004 Novell, Inc (http://www.novell.com)
Copyright (C) Ximian, Inc. 2003

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

The C# code files in CairoSharp project was taken from Mono/GTK#(Version 3.0.0), licensed under the GNU LGPL. So CairoSharp uses LGPL as well.

Native libraries

The Native project files is generated according to a VS2015 Solution from Cairo-VS.

These libraries will be updated if new verisons are released.
Last update date of these Native libraries: 2017-07-16

About

A C# wrapper of cairo http://cairographics.org/

License:GNU Lesser General Public License v3.0


Languages

Language:C 65.3%Language:Roff 8.8%Language:HTML 7.9%Language:Makefile 7.0%Language:Shell 3.2%Language:C++ 2.2%Language:Assembly 1.4%Language:Smalltalk 1.2%Language:C# 0.7%Language:Python 0.5%Language:M4 0.3%Language:PHP 0.3%Language:Ada 0.3%Language:DIGITAL Command Language 0.2%Language:Pascal 0.2%Language:Awk 0.1%Language:CMake 0.1%Language:Objective-C 0.1%Language:Perl 0.0%Language:JavaScript 0.0%Language:CSS 0.0%Language:CLIPS 0.0%Language:Batchfile 0.0%Language:Module Management System 0.0%Language:SAS 0.0%