Add CGFloat support

Thanks for your elegant work.

There may comes times that we dealing with UI calculation especially when rotating views.

So here CGFloat support comes.