Copy link to clipboard
Copied
hi all,
i want to retrieve the direction of the path through code..
how ro check the direction of the path and rectangle..
please provide some sample c++ code using adobe sdk
There's no SDK for this, you just have to grab the path & determine its direction by calculating the area. I forget which type Adobe uses (right or left) but I think negative is clockwise & positive is counter-clockwise. Obviously this only works for closed areas.
Copy link to clipboard
Copied
There's no SDK for this, you just have to grab the path & determine its direction by calculating the area. I forget which type Adobe uses (right or left) but I think negative is clockwise & positive is counter-clockwise. Obviously this only works for closed areas.
Copy link to clipboard
Copied
thanks A.patterson for replaying..
can you vplease provide some sample code to do this..
thanks