Hey, I'm the author of osgCairo (are you using osgPango too :)) and I
just got them both to compile and work nicely on Windows. Let me get
home from work and I'll check these out and have you an svn update in
not time...

On Thu, 2009-11-05 at 19:44 +0100, Riccardo Corsi wrote:
> Hi all,
> 
> I'm trying to use the nice osgCairo library to draw some curves on top
> of an image.
> I wasn't able to to that, because after loading an osgCairo::image
> with data coming from an osg::Image, whatever path I stroke or fill on
> it, it's used as a mask, instead of draw on top of it ( see attached
> image, screenshot of a modified osgCairoViewer)
> Is there a way to achieve what I'm looking for?
> 
> I've also found a possible issue/bug under Windows: the image colors
> don't match between osg and cairo.
> You may notice it slightly in the screenshot of osgcairoViewer
> provided here by Jean-Sebastien (almost white, it's difficult to
> notice) 
> http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-November/018634.html
> I made it more evident with another image in the attached screenshot.
> For the image to look fine I had to swap some colors, like RGBA ->
> BGRA, despites of what the cairo settings state in the viewer example
> (CAIRO_FORMAT_ARGB32).
> 
> If you give me some pointers, I can try to take a look into the code
> and see if I can fix it.
> 
> Thank you,
> Ricky
> 
> -- 
> Riccardo Corsi
> (t) +39 011 56 97 227
> (f) +39 011 56 97 219
> Virtual Reality & Multi Media Park SpA
> C.so Lombardia, 194 10149 Torino (It)
> C.F./P.I. 07844090014
> C.S. deliberato € 2.220.240,80 - sottoscritto € 1.965.941,20 - versato
> € 819.253,90 
> Reg. Impr. TO-07844090014
> R.E.A. 924212 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-- 
Follow us on Twitter! http://twitter.com/emperorlinux

EmperorLinux, Inc.
http://www.emperorlinux.com
1-888-651-6686

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to