<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just a little more info from my experience:<div><br></div><div>My use of Cairo on various platforms led me to using Cairo to create images, which are turned into OpenGL textures (done "manually", not using the Cairo OpenGL backend). OpenGL or OpenGL ES is used on platforms that support it. Even for FlasCC, the same idea is used, but of course Stage3D is used instead of OpenGL (yes, you read correctly - Cairo has been compiled and used successfully on iOS)</div><div><br></div><div>The various backends of Cairo can be used more directly, if they are a good fit for your application. It is easy to use Cairo as I have described, but perhaps it's not the first choice if one of Cairo's backends works for you (may be better performance in some cases, or easier to code?) I would investigate these backends before deciding to go with OpenGL, but still you might find OpenGL a good choice. Just investigate before :-) I've not really looked at the "Cairo OpenGL backend" to compare with what I'm doing, so I cannot comment on that detail.</div><div><br></div><div>-- Philip</div><div><br></div><div><br><div><div>On Apr 16, 2013, at 3:45 AM, Mohit Sindhwani <<a href="mailto:ml3p@onghu.com">ml3p@onghu.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi José,<br>
      <br>
      I have used an older version of Cairo with a Windows Surface
      backend using the pre-compiled libraries from the Gtk for Windows
      project in a couple of internal projects using Borland C++
      Developer Studio 2006.  This was a few years back but it worked
      fine.<br>
      <br>
      More comments inline.<br>
      <br>
      On 12/4/2013 10:22 PM, José Antonio Carmena wrote:<br>
    </div>
    <blockquote cite="mid:1365776568.2932.YahooMailNeo@web172403.mail.ir2.yahoo.com" type="cite">
      <div style="background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 12pt; ">We are developing a
        powerful application with 2D graphics in OpenGL, but we have
        reached a point where lines and points are not enough. We need
        dashed thick lines, double or triple thick lines, drawing SVGs
        in OpenGL, filled complex polygons, etc. We tried to develop
        some of these functions without success.</div>
    </blockquote>
    <br>
    I can't comment on using an OpenGL backend with Cairo because I have
    never tried it.  If you need it to be OpenGL enabled, I think
    someone else may have better inputs.<br>
    <br>
    <blockquote cite="mid:1365776568.2932.YahooMailNeo@web172403.mail.ir2.yahoo.com" type="cite">
      <div style="background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 12pt; ">
        <div style="background-color: transparent;">
          <div style="background-color: transparent;">We found Cairo and
            wonder if it would be a good choice. It should solve the
            problems I mentioned above, plus working under Linux, Mac
            and Windows, without any code modification.</div>
        </div>
      </div>
    </blockquote>
    <br>
    "working under Linux, Mac and Windows"... well, the Cairo code may
    work but you'll still have to either use something cross-platform
    for the platform-specific surfaces, etc. or will need some platform
    specific code there anyway.<br>
    <br>
    <blockquote cite="mid:1365776568.2932.YahooMailNeo@web172403.mail.ir2.yahoo.com" type="cite">
      <div style="background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 12pt; ">
        <div style="background-color: transparent;">
          <div style="background-color: transparent;">Does Cairo meet
            these requirements?</div>
        </div>
      </div>
    </blockquote>
    As a library alone, it would... not sure about the OpenGL part.<br>
    <br>
    <blockquote cite="mid:1365776568.2932.YahooMailNeo@web172403.mail.ir2.yahoo.com" type="cite">
      <div style="background-color: rgb(255, 255, 255); font-family: tahoma, 'new york', times, serif; font-size: 12pt; ">
        <div style="background-color: transparent;">
          <div style="background-color: transparent;">By the way, now we
            are developing in Embarcadero (formerly Borland). Have you
            tried to use Cairo in that IDE?</div>
        </div>
      </div>
    </blockquote>
    Are you using XE3?  Even XE3 will only give you Mac OS and Windows,
    not Linux.  I have not tried using Cairo under Firemonkey but now
    there's a thought!  You would still need a Mac to compile the MacOS
    executable.<br>
    <br>
    Let me know how it turns out... this is something I'm also keen to
    see :)<br>
    <br>
    Best Regards,<br>
    Mohit.<br>
    <br>
  </div>

-- <br>cairo mailing list<br><a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>http://lists.cairographics.org/mailman/listinfo/cairo</blockquote></div><br></div></body></html>