Sets a new value of the real length. The real length flag indicates whether the pattern is scaled with the view (if true).