Declaration

func GSPointOffsetFromLine(
    _ p0: NSPoint,
    _ p1: NSPoint,
    _ t: CGFloat,
    _ offset: CGFloat
) -> NSPoint

Declaration

NSPoint GSPointOffsetFromLine(
    NSPoint p0,
    NSPoint p1,
    CGFloat t,
    CGFloat offset
);

Declaration

GSPointOffsetFromLine(
    p0: NSPoint,
    p1: NSPoint,
    t: float,
    offset: float
) -> NSPoint

Parameters

offset

Offset to the right of the line if positive or to the left of the line if negative.

See Also

Curve Evaluation and Tangents