Couldn't find this question after a quick search, so apologies if it's already been answered.
Is there a way to get the number of Path elements that a given Path uses? Specifically, I'm wondering if there's a function that returns the argument needed for Path::preallocateSpace(). Something like:
Path mypath; mypath.preallocateSpace (anotherPath.getNumElements() );
I'm working on making special Path transforms (transforming each point in a Path differently depending on some context) for which the AffineTransform class is a bit clunky.
Any thoughts are appreciated. Thanks,