[Pyobjc-dev] Bus error in NSBezierPath.appendBezierPathWithPoints_count_()
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-09-12 22:41:22
|
Hi, is there some other trick to make this work or is it a bug? appendBezierPathWithOvalInRect_() works ok, but the other method appendBezierPathWithPoints_count_() crashes reliably: >>> from AppKit import * >>> path = NSBezierPath.bezierPath() >>> path.appendBezierPathWithOvalInRect_(((0,0), (100,100))) >>> points = [(0,0), (100,0), (100,100)] >>> path.appendBezierPathWithPoints_count_(points, len(points)) Bus error Dinu -- Dinu C. Gherman ...................................................................... "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." (Benjamin Franklin) |