Project

General

Profile

Actions

Bug #448

closed

WSvgImage does not clear when PaintFlag != PaintUpdate

Added by Anonymous almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
07/22/2010
Due date:
% Done:

0%

Estimated time:

Description

This should likely occur in init() of WSvgImage since WPainter::begin states that it automatically clears the device.

I'm thinking:

if( !(paintFlags_ & PaintUpdate) )

{

shapes_.str(std::string());

}

Actions #1

Updated by Koen Deforche almost 14 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

I have fixed this for WSvgImage, WCanvasPaintDevice and WVmlImage, but this should also be done for WPdfImage and WRasteRimage.

Actions #2

Updated by Pieter Libin almost 14 years ago

  • Status changed from Resolved to Closed
Actions #3

Updated by Koen Deforche over 13 years ago

I have reverted this fix since it is annoying that you cannot use multiple WPainter's in row on a single paint device. So we have updated the documentation: WPainter::begin() does not clear the paint device, and instead WPaintedWidget::update() does.

Actions

Also available in: Atom PDF