Lines Matching refs:xy
105 b) coz it returns the new xy, rather than modifying the input
378 xy = self.pathxy(path, i)
380 xy = first_xy
387 if not (xy and prev_xy and next_xy):
388 prev_xy = xy
391 xy_untransformed = tuple(xy)
392 xy = list(transform_point(transform, xy))
398 if horizontal(xy, prev_xy):
400 xy[1] = prev_xy[1] # make the almost-equal values equal, so they round in the same direction
402 if horizontal(xy, next_xy):
405 if vertical(xy, prev_xy): # as above
407 xy[0] = prev_xy[0]
409 if vertical(xy, next_xy):
416 fractional_offset[0] = xy[0] - (round(xy[0]-offset) + offset)
418 fractional_offset[1] = xy[1] - (round(xy[1]-offset) + offset) - self.document_offset