Abstract depth of field macro