Skip to content

markers module: angle arc ignores IgnoreAspect #541

@sanjoymahajan

Description

@sanjoymahajan

I've just noticed (using asy 3.01 on Debian) that the arc to mark an angle doesn't account for IgnoreAspect in the size() setting. A minimal example:

import markers;
size(400,100,IgnoreAspect);
draw(E -- (0,0) -- (1,1));
markangle(E, (0,0), (1,1), dashed);

The angle's jaw is conceptually 45 degrees and, with the squat 4:1 aspect ratio, is correctly drawn at about 15 degrees (arctan 0.25). However, the arc marking the angle doesn't squash to match the drawn angle, and is drawn (incorrectly) as if the angle were 45 degrees.

I think that this behavior is new (with v3.01, maybe). I don't have an older version handy to test this guess, but I could compile and install one if it would be helpful for debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions