[cairo] win32 BUG: crash with CAIRO_OPERATOR_DIFFERENCE and rectangles

Peter Frentrup peter_frentrup at gmx.de
Fri Apr 22 04:10:24 PDT 2011

Hi all,

I use cairo 1.10.0 and get an assetion failure when filling a rectangle 
using CAIRO_OPERATOR_DIFFERENCE on a win32 surface.

Assertion failed: !"reached", file cairo-win32-surface.c, line 1405

That function categorize_solid_dest_operator() around line 1405 does not 
handle any of the "fancy"/new operators :-(
Everything works fine for non-rectangled shapes.

A sample application is in the attachment.

Bye, Peter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cpp
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110422/98936378/attachment.asc>

More information about the cairo mailing list