Calls func for every operation of the path.
Note that this may only approximate this, because paths can contain optimizations for various
specialized contours, and depending on the flags, the path may be decomposed into simpler curves than the ones that it
contained originally.
This function serves two purposes:
flags allow everything, it provides access to the raw, unmodified data of the path.flags disallow certain operations, it provides an approximation of the path using just the allowed operations.
| this |
a path |
| flags |
flags to pass to the foreach function |
| func |
the function to call for operations |
| user_data |
user data passed to |
|
false if |