Project

General

Profile

Bug #1803

WPainter.drawRect with PNG draws nothing if cosmetic (default) pen is used

Added by Boris Nagaev over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/01/2013
Due date:
% Done:

0%

Estimated time:

Description

Hello!

A pen with width 0 is a cosmetic pen, and is always rendered as 1 pixel width, regardless of transformations. Cosmetic pen is used by default. If PNG back-end is used, then cosmetic pen produces nothing for drawRect.

Wt 3.2.3


Files

png-drawRect.cpp (1005 Bytes) png-drawRect.cpp Example. Comment out setPen to reproduce the bug. Boris Nagaev, 04/01/2013 02:45 PM
png-drawRect.cpp (1012 Bytes) png-drawRect.cpp Koen Deforche, 04/01/2013 10:14 PM

Also available in: Atom PDF