Below you can see the front-view size comparison of the Fujifilm XP70 and Pentax WG-10. The Fujifilm XP70 is 12 mm narrower and 3 mm thinner than the Pentax WG-10 but it is also 8 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.