The compass I showed may do the trick for you. It has an inclinometer built in. Your frame is flat, just not level. With the compass the rotating bezel will do your math for you, just hold the compass‘ flat measuring side to your frame, rotate the bezel to zero, and you’re calibrated, now...