def _LineSeg(p1, p2, gs):
    """Return an 'L' segment, transforming coordinates.

    Args:
      p1: (float, float) - start point
      p2: (float, float) - end point
      gs: _SState - used to transform coordinates
    Returns:
      tuple - an 'L' type geom.Subpath segment
    """

    return ('L', gs.ctm.Apply(p1), gs.ctm.Apply(p2))