I'm drawing a shadow of various non-rectangular shapes inside the CIImage object. I did this by subclassing the CIFilter and combining my own filter kernel and the gaussian blur filter. I'm wondering whether a performance gain can be achieved by using the NSShadow.
Also I'm not sure whether NSShadow can be used to draw a shadow of a non-rectangular shape? For example in the answer for another question I found that in order to use NSShadow one first needs to create a NSBezierPath of the shape.
Any hints, suggestions or am I totally off here by trying to use NSShadow in this situation?