Opened 19 years ago

Closed 19 years ago

#16 closed defect (fixed)

Background is out of bounds in QPainter::drawRoundRect

Reported by: dmik Owned by: dmik
Priority: normal Milestone: qt-os2-3.3.1-rc07
Component: kernel Version: 3.3.1-rc06
Severity: normal Keywords: drawRoundRect
Cc:

Description

When non-zero roundness coefficients are passed to QPainter::drawRoundRect() and the current brush is other than NoBrush, the background of the resulting rectangle is 1 pixel taller than the rectangle frame.

Attachments (1)

GpiBox_bug.c (3.5 KB ) - added by dmik 19 years ago.
Demonstration of the GpiBox bug

Download all attachments as: .zip

Change History (3)

comment:1 by dmik, 19 years ago

Status: newassigned

This is obviously a GpiBox() bug. The testase (taken from the eclipse-os2 project, where I've originally discovered this) is attached.

by dmik, 19 years ago

Attachment: GpiBox_bug.c added

Demonstration of the GpiBox bug

comment:2 by dmik, 19 years ago

Resolution: fixed
Status: assignedclosed

Fixed by changeset:62.

Note: See TracTickets for help on using tickets.