• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to check the direction of the pathitem using adobe sdk

Explorer ,
Mar 24, 2023 Mar 24, 2023

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

TOPICS
SDK

Views

155

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Mar 24, 2023 Mar 24, 2023

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.

Votes

Translate

Translate
Guide ,
Mar 24, 2023 Mar 24, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 24, 2023 Mar 24, 2023

Copy link to clipboard

Copied

LATEST

thanks A.patterson for replaying..
can you vplease provide some sample code to do this..
thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines