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
 Drawing open ellipse
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

exchangeviews

India
39 Posts

Posted - Mar 01 2015 :  00:50:50  Show Profile  Reply
Is there a way to draw ellipse object like shown in below image:


xequte

38610 Posts

Posted - Mar 01 2015 :  02:48:09  Show Profile  Reply
Hi

Yes, you can use the iekPOLYLINE object with TImageEnVect. See the Vectorial demo for more information.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

exchangeviews

India
39 Posts

Posted - Mar 01 2015 :  07:33:27  Show Profile  Reply
Thanks Nigel,

With vectorial demo, I am only able to draw an open ellipse as shown below, no smoothness is here:




any help?
Go to Top of Page

xequte

38610 Posts

Posted - Mar 01 2015 :  17:58:49  Show Profile  Reply
Hi

Yes, unfortunately there are no smoothing algorithms in ImageEn. You could try porting spetric's polyline simplification code:

http://www.imageen.com/ieforum/topic.asp?whichpage=0.95&TOPIC_ID=1446#6437


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Mar 02 2015 :  02:00:57  Show Profile  Reply
Hi,

Object you want to draw is some kind of spiral ellipse. The best way to draw it is, to find somewhere on the web, an equation for such object and then calculate points of an object and save them as polyline (iekPolyline).

I've found a similar object on this page:

http://cp.literature.agilent.com/litweb/pdf/ads2008/gcc/ads2008/Second_Spiral_Example.html

In paragraph "Make an Elliptical Spiral" you'll find an explanation.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: