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
 A few questions about vector shapes
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

MrDeveloper

Switzerland
17 Posts

Posted - Sep 27 2021 :  06:22:54  Show Profile  Reply
Hello

The questions refer to TImageEnView with layer technique, if it would go alternatively with TImageEnVect, please gladly also note.

1. How is it possible to query or manipulate the properties of a particular type of vector shape, e.g. for an "iesEllipse" the center coordinates and its arc information?
2. Is it possible to convert pixel coordinates with an auxiliary function directly into the units of measurement displayed according to ruler? (e.g. pixel coordinates to cm or mm etc.).
3. Can also standard vector shapes be joined, so that actually custom vector shapes arise from it?
4. Can EMF, WMF and/or SVG files also be imported and used as scalable and manipulable vector shapes?

Thanks a lot in advance!

xequte

38798 Posts

Posted - Sep 27 2021 :  20:28:59  Show Profile  Reply
Hi

1. You would need to calculate this from the PosX, PosY, Width and Height properties

2. You can use IEConvertToUnits:

https://www.imageen.com/help/IEConvertToUnits.html

3. All standard shapes are joined. They cannot be unjoined

4. Please see the demo:

\Demos\LayerEditing\SVGVectorLayers\SVGLayers.dpr

Note: SVG loading requires the ImageMagick plug-in:

http://www.imageen.com/download/

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: