Skip to content

PicoGraphics::polygon Y coordinate is offset by +1px #1107

@di-cl

Description

@di-cl

Both calls listed below produce identical result (1px border along the perimeter of the pimoroni display pack 2.0), with PicoGraphics::polygon top Y coordinate offset by +1px.

  • graphics.rectangle(Rect(1, 1, 318, 238))
  • graphics.polygon({Point(1, 0), Point(318, 0), Point(318, 238), Point(1, 238)})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions