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
 TIEPolyLIneLayer points values
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

kowal

Poland
38 Posts

Posted - Jun 10 2023 :  16:03:03  Show Profile  Reply
Hi
Sorry for the question if it's lame.
I can not find what is the meaning of the points values added to TIEPolyLineLayer
I'd like it to be pixels on the background layer image but I think they are some different units.
In my test I try the code from demo on my picture loaded as layer[0] (jpeg image) and I see the small triangle in the top left area of the image not in the expected place.

How can I locate TIEPolyLineLayer using pixels like TIEImageLayer.posX and posY which are pixel locations?

S.Kowalski

xequte

38539 Posts

Posted - Jun 11 2023 :  02:28:49  Show Profile  Reply
Hi

Points are values in the range 0 to 1000, but you can add in terms of the bitmap or client using:

http://www.imageen.com/help/TIEPolylineLayer.AddPoint.html



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

kowal

Poland
38 Posts

Posted - Jun 12 2023 :  06:51:55  Show Profile  Reply
Hi,
with the parameter PointBase = iepbBitmap the polyline is ok

thank you!
S.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: