Skip to content

PicoGraphics::circle draws a circle with "diameter = 2 * radius + 1px" #1106

@di-cl

Description

@di-cl

PicoGraphics::circle implementation for some reason adds 1px to the circle diameter. This causes unexpected result on a display when the shape is expected to be blended with other figures.
Attached is an example, expected 10px diameter but drawn 11px. PicoGraphics::circle implementation adds 1px to the pixel_span calls, the reason for that is unclear.

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