Opened 5 years ago

Last modified 5 years ago

#16097 new bug

ArcTo in BShape is incorrectly transformed in ClipToShape

Reported by: X512 Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev54241.

In attached test program that draw rounded rectangle shape there are 2 modes that are enabled by digit keys and shape can be moved by arrow keys. In mode 1 shape is pained by FillShape that work fine, in mode 2 shape is painted by ClipToShape and FillRect and it is not painted correctly if offset is not 0.

Attachments (3)

MinApp.cpp (2.7 KB ) - added by X512 5 years ago.
Test program.
mode1.png (3.2 KB ) - added by X512 5 years ago.
Correct rendering.
mode2.png (3.2 KB ) - added by X512 5 years ago.
Incorrect rendering. ArcTo parts are broken.

Download all attachments as: .zip

Change History (4)

by X512, 5 years ago

Attachment: MinApp.cpp added

Test program.

by X512, 5 years ago

Attachment: mode1.png added

Correct rendering.

by X512, 5 years ago

Attachment: mode2.png added

Incorrect rendering. ArcTo parts are broken.

comment:1 by X512, 5 years ago

Arc angle is stored as BPoint(angle, 0) in BShape points and it is probably accidently transformed as point.

Note: See TracTickets for help on using tickets.