aws-cqc / aws-cqc/DeviceLayout.jl

Magnification doesn't work on Paths

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
67
Forks
14
Avg merge
1d 16h
Merged PRs (30d)
21

Description

Path/Node/Segment/Style transformations just change initial point, angle, and handedness. So right now magnification (e.g. `2*pa` or `magnify(pa, 2)`) just affects the initial point. The result of magnifying a path then rendering it should be the same as rendering it then magnifying the resulting polygons. (Right now Styles don't see any transformation except for handedness changes, and those I think only for DecoratedStyle.)

This has never come up as far as I know because magnification is basically never used.

Contributor guide

Open the contributing guide

Research direction

Trace how transformations are applied across Path, Node, Segment, and Style, then follow the rendering flow. Compare magnifying a path before rendering with magnifying the rendered polygons afterward; done means both results are equivalent, including style transformations.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.