Function
GSClipLineWithRect(_:_:_:) GSClipLineWithRect GSClipLineWithRect
Declaration
func GSClipLineWithRect(
_ start: UnsafeMutablePointer<NSPoint>,
_ end: UnsafeMutablePointer<NSPoint>,
_ rect: NSRect
) -> BoolDeclaration
BOOL GSClipLineWithRect(
NSPoint *start,
NSPoint *end,
NSRect rect
);Declaration
GSClipLineWithRect(
start: NSPoint,
end: NSPoint,
rect: NSRect
) -> boolSee Also
Intersections
Finds all intersections between a curve and a line.