Net4x.CairoSharp 4.22.4.26224

There is a newer version of this package available.
See the version list below for details.
dotnet add package Net4x.CairoSharp --version 4.22.4.26224
                    
NuGet\Install-Package Net4x.CairoSharp -Version 4.22.4.26224
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Net4x.CairoSharp" Version="4.22.4.26224" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Net4x.CairoSharp" Version="4.22.4.26224" />
                    
Directory.Packages.props
<PackageReference Include="Net4x.CairoSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Net4x.CairoSharp --version 4.22.4.26224
                    
#r "nuget: Net4x.CairoSharp, 4.22.4.26224"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Net4x.CairoSharp@4.22.4.26224
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Net4x.CairoSharp&version=4.22.4.26224
                    
Install as a Cake Addin
#tool nuget:?package=Net4x.CairoSharp&version=4.22.4.26224
                    
Install as a Cake Tool

Net4x.CairoSharp

CairoSharp is a C# wrapper for Cairo, the 2D vector drawing library Gtk renders through.

Part of GtkSharp, a C# binding for Gtk 4.22 and its companion libraries.

dotnet add package Net4x.CairoSharp

What it needs

Targets net10.0 and netstandard2.0.

At run time it needs the native library it wraps, libcairo.so.2 (Debian and Ubuntu: libcairo2). The binding does not carry a copy of it.

This package does not install a Windows runtime of its own. Reference Net4x.GtkSharp as well if you want the gvsbuild download it brings, or put the library on the loader's search path yourself.

CairoSharp stands on its own: it does not depend on Gtk and can be used for drawing without it.

How it binds

There is no glue library. Every native entry point is resolved by symbol lookup at run time rather than through a fixed DllImport library name, which is what lets one package work across Windows, Linux and macOS. It also means a symbol missing from the installed native library surfaces when it is first called, not when the assembly loads.

Licence

GNU Library General Public License v2. Sources, samples and the full licence text are in the repository.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net10.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Net4x.CairoSharp:

Package Downloads
Net4x.PangoSharp

PangoSharp is a C# wrapper for the Pango library.

Net4x.GdkSharp

GdkSharp is a C# wrapper for the Gdk library.

Net4x.GskSharp

GskSharp is a C# wrapper for the Gsk rendering library.

Net4x.GtkSharp

GtkSharp is a C# wrapper for the Gtk library.

Net4x.AdwaitaSharp

AdwaitaSharp is a C# wrapper for the libadwaita library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.22.4.26229 458 8/16/2026
4.22.4.26224 315 8/12/2026
4.22.4.26222 296 8/9/2026
4.22.4.26221 309 8/9/2026
4.22.4.26220 298 8/8/2026