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
 truncated text when using transparency & autosize

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
akempf Posted - Aug 01 2014 : 07:18:42
Hi,

I am using a TImageEnVect component in a C++ Builder XE3 application.
When I am adding a text object, setting the autosize property to true and transparency to some value other than 255 the text appears truncated.

The code I am using to reproduce this behavior looks like this:


  ImageEnVect1->AddNewObject(iekTEXT, TRect(10, 10, 100, 100), clBlack);
  ImageEnVect1->ObjTextAutoSize[IEV_PREVIOUS_INSERTED_OBJECT] = true;
  ImageEnVect1->ObjTransparency[IEV_PREVIOUS_INSERTED_OBJECT] = 254;
  ImageEnVect1->ObjText[IEV_PREVIOUS_INSERTED_OBJECT] = "some text which might be a little longer";


When transparency is not set (i.e. set to 255) the text appears just fine.

Am I doing something wrong here?

- Alexander

www.k-software.de
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 04 2014 : 14:32:28
Thanks for the report. We have fixed this for the v5.1.2.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com