Frontend: Update ImgCutting to use Cairo as much and as efficiently as possible (1/2)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>