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
 EndShape problem
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

spetric

Croatia
308 Posts

Posted - Jul 02 2014 :  05:17:28  Show Profile  Reply
Hi,

I'm porting my prog to C++ XE5 (with new ImageEn release) and
I've noticed that EndShape does not work any more.

Here is the code that worked in BCB 6:


_hobj = PaintView->AddNewObject();
PaintView->ObjKind[_hobj] = iekLINE;
PaintView->ObjBrushStyle[_hobj] = bsSolid;
PaintView->ObjBrushColor[_hobj] = clBlue;
PaintView->ObjEndShape[_hobj] = iesOUTARROW;


In XE5 with new ImageEn release, out arrow is not visible. The object acts as iesNONE was specified.

Are there any new options in current ImageEn release that must be specified in order to make arrow visible?

w2m

USA
1990 Posts

Posted - Jul 02 2014 :  05:56:16  Show Profile  Reply
I get end shapes here with no problem. There are no new options that I know of. Maybe try making the PenWidth larger.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jul 02 2014 :  06:41:03  Show Profile  Reply
I've found the difference.

There is ObjShapeHeight and ObjShapeWidth which are initially set to 0.
So, I need to add width and height of EndShape.
Go to Top of Page

xequte

39053 Posts

Posted - Jul 02 2014 :  17:02:47  Show Profile  Reply
Sorry that is due to a bug in v5.1.1. Will be fixed in 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: