Sheldon Brown's Bottom Bracket Size Database
Scroll down just a bit-
You can see the measurement is taken from the bearing race to the end.
Now I'm pretty sure the "end" isn't the actual exact point, but a reference point where the square taper is exactly a certain dimension that may or may not be exactly at the end.