zwcloud / cairosharp Goto Github PK
View Code? Open in Web Editor NEWA C# wrapper of cairo http://cairographics.org/
License: GNU Lesser General Public License v3.0
A C# wrapper of cairo http://cairographics.org/
License: GNU Lesser General Public License v3.0
With current build procedure, it is hard to update native lib to latest version. Just found a shell-based solution, which is better than current VC++ project solution:
Cairo.ImageSurface.WriteToPng
does nothing when the specified path contains non-ASCII characters.
for #1
environment: Win10 x64, VS2017 15.0.27130.2020
Error message from package manager:
Error occurred while restoring NuGet packages: The local source 'D:\my\CairoSharp\NuGet-Packed' doesn't exist.
Error message from package manager:
CS0518 Predefined type 'System.Object' is not defined or imported CairoDemo D:\my\CairoSharp\demos\CairoDemo\Program.cs
(and many more like above)
We must ensure that the following process is never interrupted by any errors that is hard to solve.
Target: Clone, build C# projects and run demos seamlessly on Win10 with VS2017 only.
This is an issue from Brad and is to be reproduced.
Context context;
Matrix matrix = context.FontMatrix;
This will cause an exception to be thrown. It looks like it is coming from the Native code. I wasn’t sure how you were sourcing the cairod.dll so I stopped digging there.
Hi
I have tried to download the source code and build it, but I ran into a problem with this when building the native dependencies. I get the following output from build:
1>cairo-surface-observer.obj : error LNK2001: unresolved external symbol __cairo_script_context_create_internal
1>cairo-surface-observer.obj : error LNK2001: unresolved external symbol __cairo_script_context_attach_snapshots
1>C:\Users\fazal\Libraries\CairoSharp\source\Native\Output\bin\win-x64\cairo.dll : fatal error LNK1120: 2 unresolved externals
Any help with this would be greatly appreciated.
Is it possible to draw text using one of the pre-installed Windows system fonts? I read in the cairo reference manual a little bit, and it seems like it somehow depends on which font backend is enabled in cairo. Seems to be a fairly complex topic.
I've downloaded the release https://github.com/zwcloud/CairoSharp/releases/tag/dotnet_4.5 and found that the solution does not compile due to following 4 files are missing from the .zip and the tar.gz:
Take care,
Martin
I've found it but on gtk+. I need on Gtk#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.