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

Area value differed in AiArtHandle of AI file in CS4 and CC2018

Community Beginner ,
Feb 26, 2018 Feb 26, 2018

Copy link to clipboard

Copied

I have migrated a source from CS4 to CC2018.

(Os: mac 10.13.1)

I have a problem when finding area.

The Area calculation values are different from each another.

How can it be solved?

Is there any difference in the area values (calculations) between CS4 and CC2018?

In some scenarios, the illustrator API gives different values for Mac 10.11 and 10.13 even in CC2018 itself.

thanks,

Sandy.

TOPICS
SDK

Views

590

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
Adobe
Advocate ,
Mar 01, 2018 Mar 01, 2018

Copy link to clipboard

Copied

Which SDK functions are returning different values? I think Adobe swapped the top and bottom coordinates after CS4.

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
Community Beginner ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

Hai Friend,

          Thank for your replay.

          I have use GetArtBounds & GetArtTransformBounds function to find Art Bounds.

          but CC2018 Art Bounds Value is Differ from CS4 Art Bounds Value.

          Precision values of Bounds was differ.         

        sAIArt->GetArtBounds( art, &temp_bounds );

        sAIArt->GetArtTransformBounds( art, NULL, kVisibleBounds, &temp_bounds );

        

          If Any other Method or Process to get same bounds value?        

thanks,

Sandy.

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
New Here ,
Mar 07, 2018 Mar 07, 2018

Copy link to clipboard

Copied

LATEST

I would expect the y values to be different because the top and bottom have been swapped. What do you mean by "precision values of bounds was differ"? Can you give examples of the values you get with CS4 and CC2018 for the same art?

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