Ndinogona here kuchengeta kuratidzwa kwechifananidzo, kana kumanikidza zvakajeka zviyero?
+
Both. Lock the ratio and one dimension is derived from the other, which is what you want almost always. Unlock it and you get exactly the numbers you typed, at the cost of stretching — useful for a fixed slot, wrong for a photograph.