Is it possible to extract GSPath object from a GSComponent?
I was using Stem Thickness(github) reporter plugin, and then noticed that the plugin does not recognize the outlines of the not-decomposed smart components.
The plugin in the core uses
nearestPointOnPath: pathTime: method of the
GSPath, but I cannot find a way to get a representing GSPath object given a smart component.
I have tried
componentLayer method of the GSComponent, but it seems to return the original layer, not the current component with the fixed smart component axes values.
I have also tried using
initWithPathDict: method of the GSPath, but it couldn’t be initialized from a NSBezierPath-OAExtension’s
How can I get a correct GSPath outline from a smart component?