Depends on the brand and frame.
Some are centre to centre
Some are centre to top.
Some are centre to virtual centre
And *most* road frames aren't measured as small, medium, large. As there are too many variables in geometry to make it a useful comparison.