ppb_graphics2d: implement scaling