<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 11, 2016, at 5:50 PM, Matthew Judge <<a href="mailto:matthew.judge@gmail.com" class="">matthew.judge@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline"><br class="">On Feb 11, 2016, at 18:19, Douglas Gregor via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""></div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><div class=""><div class=""><br class=""></div><div class="">Here’s a fun set of examples from NSGradient:</div><div class=""><br class=""></div><div class=""><div class=""> - func drawFrom(startingPoint: Point, to endingPoint: Point, options: NSGradientDrawingOptions)</div><div class=""> - func drawIn(rect: Rect, angle: CGFloat)</div><div class=""> - func drawIn(path: NSBezierPath, angle: CGFloat)</div><div class=""> + func draw(from startingPoint: Point, to endingPoint: Point, options: NSGradientDrawingOptions)</div><div class=""> + func draw(in rect: Rect, angle: CGFloat)</div><div class=""> + func draw(in path: NSBezierPath, angle: CGFloat)</div><div class=""> func drawFromCenter(startCenter: Point, radius startRadius: CGFloat, toCenter endCenter: Point, radius endRadius: CGFloat, options: NSGradientDrawingOptions)</div></div></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Why isn't this:</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">func draw(fromCenter startCenter: Point, radius startRadius: CGFloat, toCenter endCenter: Point, radius endRadius: CGFloat, options: NSGradientDrawingOptions)</div></div></blockquote></div><div class=""><br class=""></div><div class="">Huh, I’m not sure why it’s showing up as drawFromCenter in that paste. If I go to the source at:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="https://github.com/apple/swift-3-api-guidelines-review/blob/swift-3/Platforms/OSX/AppKit/NSGradient.swift" class="">https://github.com/apple/swift-3-api-guidelines-review/blob/swift-3/Platforms/OSX/AppKit/NSGradient.swift</a></div><div class=""><br class=""></div>there’s a big “draw” family that pops out:<div class=""><br class=""></div><div class=""><div class=""> func draw(from startingPoint: Point, to endingPoint: Point, options: NSGradientDrawingOptions)</div><div class=""> func draw(in rect: Rect, angle: CGFloat)</div><div class=""> func draw(in path: NSBezierPath, angle: CGFloat)</div><div class=""> func draw(fromCenter startCenter: Point, radius startRadius: CGFloat, toCenter endCenter: Point, radius endRadius: CGFloat, options: NSGradientDrawingOptions)</div><div class=""> func draw(in rect: Rect, relativeCenterPosition: Point)</div><div class=""> func draw(in path: NSBezierPath, relativeCenterPosition: Point)</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- Doug</div><div class=""><br class=""></div></div></body></html>