<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Hi Maarten,<BR> <BR>Thanks very much for your reply. Comments inline.<BR> <BR>> Although its primary developers mainly run Cairo on Linux (more<BR>> specifically: on intel graphics) there are enough people interested in<BR>> running it on Windows to keep it in good shape.<BR>> But of course Cairo isn't part of the core infrastructure on Windows,<BR>> so you might run into a bug yourself if you use the latest version.<BR><BR>I am glad that it's a branch with some validity. IMHO there is a real need for a truly cross-platform 2D graphics library written in C.<BR> <BR>> Yes, it can be build on Windows, either using MSVC or through<BR>> GCC+mingw32. Personally I find the easiest option to be<BR>> cross-compiling on Linux using mingw.<BR><BR>Why is it easier to build Cairo using MinGW on Linux than Windows?<BR> <BR>> I myself have switched to downloading the packages from the OpenSuse<BR>> BuildService. The mingw project over there has a lot of nice packeges<BR>> being automatically build for Windows. See for example:<BR>> https://build.opensuse.org/package/show?package=mingw32-cairo&project=windows%3Amingw%3Awin32<BR>> I only compile stuff like Cairo and Gtk myself in order to fix bugs.<BR>> For distribution with my Windows app, I only rely on the binaries from<BR>> the BuildService.<BR><BR>OK, you may have to help me here! I had a look at that page but I am a bit lost as to how to get from it to a download of the latest Cairo binaries for Windows. Can you give me a hint?<BR> <BR>> Yep. Although I think there isn't a MSVC project to build it, but you<BR>> have to use a special makefile. But as I have no experience building<BR>> this way, better let some else answer this in more detail.<BR><BR>If I get it to work with Visual Studio I will contribute the project file.<BR> <BR>> As you can see in the docs:<BR>> http://cairographics.org/manual/cairo-Win32-Surfaces.html<BR>> Cairo needs a HDC in order to be able to draw to a window.<BR><BR>Right, that should be fine.<BR> <BR>> The main thing I would say is that there aren't that much developers<BR>> using Cairo on Windows. That said, it works great on Windows and I<BR>> would really recommend you to use Cairo. If you submit patches for any<BR>> problems you might experience, that's even better!<BR><BR>Certainly will do!<BR> <BR>> One other thing is the performance of the win32 backend. It is<BR>> certainly sufficient (at least for my app), but I find that using the<BR>> image surface for drawing and then blitting the contents to the win32<BR>> surface is much faster. It's a trivial change code-wise, so you can<BR>> try and profile both to see whether performance is acceptable for you.<BR><BR>That's my usual coding style coming from a history of using other graphics toolkits so that is what I expected to do anyway.<BR> <BR>Thanks again,<BR> <BR>-Lucan1d-<BR>                                            </body>
</html>