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

Draw line and and text frame

New Here ,
Nov 26, 2008 Nov 26, 2008

Copy link to clipboard

Copied

I need to draw a line and text frame using sdk, which suite should I look into???
TOPICS
SDK

Views

805

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
Guide ,
Nov 26, 2008 Nov 26, 2008

Copy link to clipboard

Copied

You'll need AIArt.h & AIPath.h to draw your line. Text -- assuming you're working with CS or later -- is handled using the ATE which you can access via ATESuites.h for suite pointers or IText.hpp for C++ objects that wrap the API. I should warn you that both the of the latter have a LOT of suites or objects in them; they're not divvied up nicely at all; just all lumped together.

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 ,
Nov 26, 2008 Nov 26, 2008

Copy link to clipboard

Copied

Is there any example which I can refer to because I am very new in 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
Guide ,
Nov 27, 2008 Nov 27, 2008

Copy link to clipboard

Copied

LATEST
TextTest & Twirl in the samplecode have text & path examples respectively. Note that Twirl is doing some funky things with matrices, and only uses the path stuff to get & put the resultant lines, but that should give you an idea. Twirl.cpp's twirl_path() is what you want (there are two functions with the same name, so check them both)

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