Polygon with negative co-ordinates and positive draw offset is clipped

Polygon with negative co-ordinates and positive draw offset is clipped

Have I made an incorrect assumption that negative co-ordinates should work?

local edge = playdate.geometry.polygon.new(-100,0,0,100,10,100,110,0)
playdate.graphics.drawPolygon(edge)

Result:
polygon0

local edge = playdate.geometry.polygon.new(-100,0,0,100,10,100,110,0)
playdate.display.setOffset(100, 120)
playdate.graphics.drawPolygon(edge)

Result:
polygon2

This is unexpected, as I would expect the polygon to draw in full.

Expected:

  • generated with different code

polygon3