float -> CGFloat