Cocoa gives error:
Thu Jun 10 19:13:56 myComputer.local myApp[####] <Error>: doClip: empty path.
But I don't have this function anywhere in my code (can't find by searching in frameworks / project)... Seems a lot of people complain about this because it goes into the console logs, but couldn't find any reason given as to what causes it on a progmatic level.
Any thoughts as to what the problem is?
I would just check to see if the path is empty using: CGContextIsPathEmpty(CGContextRef ctx)
Example:
if(!CGContextIsPathEmpty(c))
CGContextClip(c);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With