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

SDK 2023 - Problem with AIAnnotatorMessage->numInvalidationRects

Participant ,
Aug 28, 2023 Aug 28, 2023

Hi all,

The following setup is used:

  • Windows 10
  • Adobe Illustrator 27.8.1 (64-bit)
  • The latest SDK 2023

I am in the process of porting our plugin tools to the SDK 2023 (download 14th of August).

Before that I used the SDK 2022 (download November 2022).

A rough summary of our tool functionality:

  • I press the left mouse-button and drag the cursor.
  • A specifc area around the cursor is invalidated for annotator-drawing (using sAIAnnotator->InvalAnnotationRect).
  • When the mouse-button is released, the annotator is deactivated.

After porting to SDK 2023, I am experiencing the follwing difference:

  • SDK 2022: During the drag-action, the ILPPlugin::Message with selector kSelectorAIDrawAnnotation always delivers a AIAnnotatorMessage with numInvalidationRects value 1.
  • SDK 2023: During the drag-action (same code), the ILPPlugin::Message only sometimes delivers an AIAnnotatorMessage->numInvalidationRects variable with value 1. Very often it delivers more than one Invalidation-Rect (2 or 3). Furthermore the dimensions of these Invalidation-Rectangles change continuously.

My question is:

How has the AIAnnotator-Draw functionality changed between SDK 2022 and SDK 2023 and how can we come back to the previous behaviour?

Any help would be very appreciated.

We need to find a solution as soon as possible!

Best regards,

Fabian T.

TOPICS
SDK , Third party plugins , Tools
147
Translate
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
no replies

Have something to add?

Join the conversation
Adobe