Alan Hollinghurst’s 2004 novel The Line of Beauty takes its title from William Hogarth’s work on the empirical analysis of…