<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY>
<P>VERISON:cairo 1.11.1<BR><BR>cairo_status_t<BR>_cairo_surface_fill_rectangles
(cairo_surface_t *surface,<BR> cairo_operator_t
op,<BR> const
cairo_color_t *color,<BR> cairo_rectangle_int_t *rects,<BR> int
num_rects)<BR>{<BR> cairo_int_status_t status;</P>
<P> if (surface->status)<BR> return
surface->status;</P>
<P> assert (! surface->is_snapshot);</P>
<P> if (surface->finished)<BR> return
_cairo_surface_set_error (surface,CAIRO_STATUS_SURFACE_FINISHED);</P>
<P> if (num_rects == 0)<BR> return
CAIRO_STATUS_SUCCESS;</P>
<P> if (surface->backend->fill_rectangles)
{<BR> status = surface->backend->fill_rectangles (surface, op,
color,<BR> rects,
num_rects);<BR><FONT color=#ff0000> if (status !=
CAIRO_INT_STATUS_UNSUPPORTED)<BR> return
_cairo_surface_set_error (surface, status);<BR></FONT> }</P>
<P> return _cairo_surface_set_error
(surface,<BR> _cairo_surface_fallback_fill_rectangles
(surface, op,
color,<BR> rects,
num_rects));<BR>}<BR><BR>In my opinion,<BR><FONT color=#ff0000> if (status
!= CAIRO_INT_STATUS_UNSUPPORTED)<BR> return
_cairo_surface_set_error (surface, status);<BR>should be <BR> if
(<FONT color=#0000ff size=4><STRONG>status &&</STRONG></FONT> status !=
CAIRO_INT_STATUS_UNSUPPORTED)<BR> return
_cairo_surface_set_error (surface, status);</FONT></P></BODY></HTML>