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
 ObjTextAutoSize and ObjFontAngle != 0
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graphman

259 Posts

Posted - Jan 10 2013 :  02:53:06  Show Profile  Reply
ObjTextAutoSize=true isn't working correctly if
ObjFontAngle != 0

ImageEn 4.1.4

fab

1310 Posts

Posted - Jan 16 2013 :  09:30:59  Show Profile  Reply
Please try this fix:

- open imageenvect.pas and locate "TImageEnVect.DrawObjectText" method
- replace following code:

          if aobj.TextAutoSize then
          begin
            nx2 := x1 + dx;
            ny2 := y1 + dy;
          end;
with

          if aobj.TextAutoSize then
          begin
            nx2 := trunc(x1 + abs(dx * cos(fa)) + abs(dy * sin(fa)));
            ny2 := trunc(y1 + abs(dx * sin(fa)) + abs(dy * cos(fa)));
          end;

Remember also to set ObjTextAlign[] = iejCenter.
Go to Top of Page

graphman

259 Posts

Posted - Jan 16 2013 :  15:01:39  Show Profile  Reply
Thanks.
But how to receive compiled version?
Go to Top of Page

xequte

38610 Posts

Posted - Jan 17 2013 :  13:02:52  Show Profile  Reply
Hi

The fix will be included in the next release or you can compile it manually as follows:

http://www.imageen.com/help/Installation.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graphman

259 Posts

Posted - Jan 25 2013 :  13:29:42  Show Profile  Reply
can you say when the next version is going to be available?
Go to Top of Page

xequte

38610 Posts

Posted - Jan 25 2013 :  22:34:03  Show Profile  Reply
It will be available in February.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: