- Timestamp:
- 04/23/07 00:13:21 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r19675 r21022 1 1 /* 2 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 292 293 if (fillColor().alpha()) { 293 294 setColor(context, fillColor()); 294 cairo_fill(context); 295 } 295 cairo_fill_preserve(context); 296 } 297 296 298 if (strokeStyle() != NoStroke) { 297 299 setColor(context, strokeColor()); … … 299 301 cairo_stroke(context); 300 302 } 303 304 cairo_new_path(context); 301 305 } 302 306 … … 348 352 setColor(context, fillColor()); 349 353 cairo_set_fill_rule(context, CAIRO_FILL_RULE_EVEN_ODD); 350 cairo_fill (context);354 cairo_fill_preserve(context); 351 355 } 352 356 … … 356 360 cairo_stroke(context); 357 361 } 362 363 cairo_new_path(context); 358 364 cairo_restore(context); 359 365 }