drawPolygon() bug

Hi folks,

I've discovered an issue with drawPolygon().

When the array of points contains all positive x co-ordinates, everything renders as expected.
However, if any of the points contains a negative x co-ord value (off the left part of the screen), a rendering artifact is generated.

I suspect this has to do with the native drawPolygon routine. It must be always returning "0" for any negative value of the x co-ord.
This does not affect the y co-ord.

Also occurs on physical devices.

Here's a video of the problem;
https://gfycat.com/FineQueasyFishingcat

Here's the source;
https://github.com/sunpazed/garmin-polybug





Cheers.
  • Former Member
    Former Member over 8 years ago
    Hey,

    Thanks so much. I was able to reproduce and have created a ticket.

    Thanks again,
    -Coleman
  • Hey,

    Thanks so much. I was able to reproduce and have created a ticket.

    Thanks again,
    -Coleman


    I think this has been around for awhile. Was able to replicate this on my wife's fr235 - which is still running CIQ 1.3.0.

    Does not seem to affect any other of the draw primitives.
  • I agree this has probably been around for a while. We have an old report of something similar, so I've linked the tickets together. I haven't seen anyone mention this for a while, but now that it's come up again, maybe we can get it some attention.