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
 truncated text when using transparency & autosize
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

akempf

Germany
3 Posts

Posted - Aug 01 2014 :  07:18:42  Show Profile  Reply
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

xequte

38598 Posts

Posted - Aug 04 2014 :  14:32:28  Show Profile  Reply
Thanks for the report. We have fixed this for the v5.1.2.


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: