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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ObjTextAutoSize and ObjFontAngle != 0

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graphman Posted - Jan 10 2013 : 02:53:06
ObjTextAutoSize=true isn't working correctly if
ObjFontAngle != 0

ImageEn 4.1.4
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 25 2013 : 22:34:03
It will be available in February.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman Posted - Jan 25 2013 : 13:29:42
can you say when the next version is going to be available?
xequte Posted - Jan 17 2013 : 13:02:52
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
graphman Posted - Jan 16 2013 : 15:01:39
Thanks.
But how to receive compiled version?
fab Posted - Jan 16 2013 : 09:30:59
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.