Scaling of multifractal measures under affine transformations