<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Chris,<BR>&nbsp;<BR>Thanks for the useful info.<BR>&nbsp;<BR>No, Windows 7 is not the only target OS but it is the only target flavour of Windows that I will be supporting.&nbsp; I also need Linux and Mac support.&nbsp; I've had a look at Direct2D but&nbsp;besides not being cross-platform it doesn't seem to have all the functionality of Cairo anyway.<BR>&nbsp;<BR>If/when I figure out the Visual Studio 2010 build processI will definitely share the details and the project file&nbsp;with everyone.<BR>
&nbsp;<BR>
Cheers,<BR>
&nbsp;<BR>
-Lucan1d-&nbsp;<BR><BR>

<HR id=stopSpelling>
<BR>
From: Chris.Thorgrimsson@lamresearch.com<BR>To: lucan1d@hotmail.com; cairo@cairographics.org<BR>Date: Fri, 1 Oct 2010 09:40:02 -0700<BR>Subject: RE: [cairo] Questions about Cairo and Windows<BR><BR><BR>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
.ExternalClass ol
{margin-bottom:0in;}
.ExternalClass ul
{margin-bottom:0in;}

</STYLE>

<DIV class=ecxWordSection1>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">I’ve been using cairo and Pango on Windows XP (via a set of VisualWorks Smalltalk bindings) for over a year and have been very happy with it. I work for a company that makes semiconductor processing equipment and we use cairo to drive an animation overview for one of the machines. It’s been in production for over a year without issue. Granted, we use a fraction of what cairo is capable of doing, but what we do use works very well. So far, every performance issue I have run into, has been on my side, not cairo.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">When it came to building the DLLs, I started to try and do it all in VS2008, but ended up going the route of GCC+mingw32. I think an end-to-end build within VS is possible, I just didn’t have the patience to figure it all out. That was all when cairo was at 1.8.8. We are still using 1.8.8. Shortly after I finished mucking around with the whole build process, Travis Griggs (the same guy who made the Smalltalk language bindings) published an easier end-to-end build guide on the cairo wiki for building on Windows and Mac. You may have already seen this, but just in case, check out. <A href="http://cairographics.org/building/" target=_blank><SPAN style="COLOR: black">http://cairographics.org/building/</SPAN></A> . Over the next several weeks, I will be attempting to rebuild for 1.8.10, but will probably end up using the method that Travis published. If you do end up choosing to do it all in VS2010, I would be overjoyed to know how you did it!</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">Curious…is Windows7 the only target OS? If so, why not Direct2D (dare I mention that name on this forum….).</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">-Chris</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;</SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: black; FONT-SIZE: 11pt"></SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;</SPAN></P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> cairo-bounces+chris.thorgrimsson=lamrc.com@cairographics.org [mailto:cairo-bounces+chris.thorgrimsson=lamrc.com@cairographics.org] <B>On Behalf Of </B>Lucan1d Beetle<BR><B>Sent:</B> Friday, October 01, 2010 3:47 AM<BR><B>To:</B> cairo@cairographics.org<BR><B>Subject:</B> [cairo] Questions about Cairo and Windows</SPAN></P></DIV></DIV>
<P class=ecxMsoNormal>&nbsp;</P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">I am looking for a 2D graphics toolkit for a new large project and Cairo is looking promising but one of the requirements I have is that the software runs well on Windows 7 so I would appreciate answers to the following questions:<BR>&nbsp;</SPAN></P>
<OL type=1>
<LI class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">Does Cairo run as well on Windows as it does on other platforms (i.e. Linux)?</SPAN></LI>
<LI class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">Can I build Cairo on Windows or do I have to wait for GTK or someone else to build the latest version and release the binaries?</SPAN></LI>
<LI class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">Can Cairo be built using Visual Studio 2010 or be built in such a way that the resulting library works well with code built using Visual Studio 2010?</SPAN></LI>
<LI class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">In which Windows contexts/containers/frames can Cairo run such as Win32, MFC or WPF?</SPAN></LI>
<LI class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">Are there any known issues, limitations or "gotchas" related to running Cairo on Windows?</SPAN></LI></OL>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">&nbsp;<BR>Thanks,<BR>&nbsp;<BR><SPAN style="COLOR: black">-Lucan1d-</SPAN></SPAN></P></DIV>                                               </body>
</html>