Origin is off canvas on Windows machine, displays correctly on Mac

edited August 2017 in Questions about Code

We're working on some code that builds LED layouts based on SVG files, and encountered something strange.

On my Windows 10 machine, the origin is approximately 25 pixels above the start of the output window. There are no transform methods, matrix transformations, or rectMode statements that would cause something like this. Even stranger, running the same code on OSX displays correctly.

screenshot: http://prntscr.com/gcaejgs The rect in the top right is being constructed by rect(0,0,50,50); for testing purpose.

The code in question is here: https://github.com/PWRFLcreative/Lightwork-Scraper It should run regardless of whether there's a fadecandy driving LEDs on the network.

Has anyone encountered something like this?

Answers

Sign In or Register to comment.