Skip to content

Fix pixel rounding in circle and arc routines #102

@mikefairbank

Description

@mikefairbank

When matrix brandy runs the following code:

0MODE12 10ORIGIN512,640 20RECTANGLE -100,-100,200,200 30GCOL0,4 40CIRCLE FILL 0,0,100

we get this:
Image

But on an archimedes, we get this:

Image

This has been fixed in commit mikefairbank@441b32d , which inflates the height and width of the circles by 0.5, giving this effect:

Image

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