Stack Transform apply twice. in draw and in getCorner. I suggest leaving it only in getCorner or adding the getGlobalCorner function (this is probably even better).
Also in the getCorner function it is worth adding different pivots under conditional compilation. And add two options (pixels along Y grow down and up).
Stack Transform apply twice. in draw and in getCorner. I suggest leaving it only in getCorner or adding the getGlobalCorner function (this is probably even better).
Also in the getCorner function it is worth adding different pivots under conditional compilation. And add two options (pixels along Y grow down and up).