Quadrilaterals on CALayer, CGGeometry-functions, UIView/CALayer properties and other invaluable tools.