Issue 116634 - DirectX canvas has wrong scale with dashed lines
Summary: DirectX canvas has wrong scale with dashed lines
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: viewing (show other issues)
Version: DEV300m95
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: groucho266
QA Contact: issues@graphics
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2011-01-26 13:59 UTC by groucho266
Modified: 2017-05-20 10:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description groucho266 2011-01-26 13:59:36 UTC
Dashed lines are not correctly scaled when displayed by the DirectX canvas.  The
line width (pen size) is multiplied by the dash and gap lengths which therefore
become too large.

The VCL canvas displays dashed lines correctly.

This error can not be observed directly because dashed lines are usually
rendered via metafiles and thus represented as a set of dashes.
Comment 1 groucho266 2011-01-26 14:13:07 UTC
Fixed by multiplying the dash and gap lengths by the inverse of the line width.