But when I try to use it inside my plugin, it looks like the intersectPaths-method isn’t known from within the classes I’ve declared to try and package it in different modules.
I’ve tried looking through the Font and Glyphs object, but I can’t see any “intersectPaths”-method, so I’m guessing it’s declared somewhere else. Is there some preferred way of using these “global” functions from within a Python plugin?
It is not clear from the linked documentation, on which object these methods are to be called.
I know for example that removeOverlap() is called on the layer. But that is not stated in the documentation.
But then, subtractPaths() and intersectPaths() are mentioned right behind removeOverlap in the documentation, but those are not called on the layer.
Could that please be clarified in the documentation?
So how is the standalone method to be called? I ask from the perspective of a user of the documentation. It is not really clear there. That was my point to ask if that can be clarified in the documentation.