Stack is always measured with whatever fork the manufacturer or frame builder intends to be used on the bike. Sometimes they'll provide and axle-crown length. Most road forks are within a few mm these days. But yes, a cross fork may require you to do some trigonometry or just actually use a yardstick and a plumb line.