[cairo] Win32 Port

Matthew Allen fret at memecode.com
Wed Feb 9 04:08:35 PST 2005


Hi,

I've got a build of Cairo running on win32 with the VC6 tool chain. I've made dsp's of all the projects, except fontconfig and freetype. I'm using the win32 build of freetype from gnu and I've reimplemented just the parts of fontconfig needed to get Cairo to compile/link and start.

So far so good.

I've implemented a new surface to get Cairo to draw directly onto a Win32 DIB section, created outside of Cairo. Which works for me.

Then I drew a simple polygon and it shows up on screen.

All good.

Then I implemented a simple renderer, that parses geometry out of a file and then gets Cairo to render it.

Not so good.

I keep getting parts of scanlines dropped. Is this a known bug?
Or something I've introduced by compiling it under win32?

Some screenshots:
http://www.memecode.com/images/cairo/cairo.png
http://www.memecode.com/images/cairo/adobe.png

The path in question is:

   <polyline points = " 50,25 41,26 34,33 39,43 49,58 36,51 47,68 55,69 54,59 61,57
				74,46 60,52 67,42 57,48 61,40 54,45 60,36 59,29 48,38 52,30 
				47,32 "/> 

Thoughts?
--
Matthew Allen
(fret at memecode.com) (http://www.memecode.com)




More information about the cairo mailing list