ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 curved Text with Arc
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Jun 09 2013 :  07:05:59  Show Profile  Reply
Hello,
the demo curved text, show different type of curves.
But bei Arc and forward, then result is wrong.
When forward=true then the text is backwards.
See Example:

31.88 KB
Here cosine it's OK.
But Arc ???

29.14 KB

When forward=false then the text is forward.

27.75 KB

Mistake ?

Klaus
www.klausdoege.de

fab

1310 Posts

Posted - Jun 15 2013 :  00:44:33  Show Profile  Reply
The Arc shape is phased by -180 degrees, so to show the text correctly it is necessary to set phase = 180. Example:

ImageEnVect1.SetObjTextCurveShape(-1, iecArc, 180, true);

Of course now the arc is in the upper side.

Unfortunately we cannot do this now to avoid to break legacy applications :-(
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Jun 16 2013 :  01:39:50  Show Profile  Reply
Thanks,
that is good to know, and is enough as solution.

Klaus
www.klausdoege.de
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: