double -> CGFloat