Below you can see the front-view size comparison of the Olympus E-620 and Pentax K-x. The Pentax K-x is 7 mm narrower and 2 mm shorter than the Olympus E-620 but it is also 8 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.