T O P I C R E V I E W |
markus |
Posted - Nov 20 2012 : 05:30:52 Hello, i am very new on ImageEn. I saw in some sample applications the different selection modes (for example rectangle or circle). If i use the rectangle mode i can edit the selection with the mouse. I hope same is possible for polygon selections. This means i can select the nodes and move them of an poligonal selection.
Thanks alot for reply
Kind regards.
Markus
|
11 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jun 15 2015 : 00:04:52 Hi
ImageEn does not support free form manipulation, so if you have an ellipse object, for example, you can only stretch it to make it higher/flatter, you cannot change it to a completely different shape, such as rounded square.
If you have a polygon object, you can drag the points of the polygon to change it to any shape, however.
See the Annotations demo for an example.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
hamidshali |
Posted - Jun 11 2015 : 10:41:56 hi i want to create any shape by drug mouse for example first : create circle so drug mouse on circle until change to any shape |
markus |
Posted - Nov 22 2012 : 02:47:25 Hello Mr. Miller,
i played around with the demo. Thanks for your great tip. I set the ObjPolylineClosed poperty to true --> so i can set the brushcolor for filling the area of my polygon. Then i use copyObjectsToBack and save the file with io.SaveToFile('xxx.bmp'); I can live with that.
Thank you very much for your great help
Markus
|
w2m |
Posted - Nov 21 2012 : 13:06:20 Yes, you can color the border as well as the background, but not by painting... you have to set object properties. Look at the Vectorial demo in samples folder.
William Miller |
markus |
Posted - Nov 21 2012 : 11:47:01 i have to test this, but if i understand correctly i can create only the border and set the color for this? I can not fill the area with an specific color?
Markus |
w2m |
Posted - Nov 21 2012 : 11:44:52 With ImageEnVect you do not fill the color, you specify the objects brush color... Other than that it should work well I suspect.
William Miller |
markus |
Posted - Nov 21 2012 : 11:25:07 Dear Mr. Miller. Thanks for your reply.
I do not need necessarily a selection. If i can create a Polygon with ImageEnVect, modify the nodes and fill the polygon area with a color and "add" the polygon to the image (saved as bmp or jpg) this can a solution for me.
Kind regards
Markus
|
w2m |
Posted - Nov 21 2012 : 11:18:07 I failed to mention that if you use ImageEnVect you can draw polygons and edit the nodes as well... but the ImageEnVect object is not a selection.
William Miller |
w2m |
Posted - Nov 20 2012 : 09:41:23 If there is a selection all ImageEnProc will effect only the selection. If there is no selection the procedure effects the entire bitmap. So... if you fill with a color only the selected area will be filled:
ImageEnView1.Proc.Fill(CreateRGB(127,50,200));
ImageEnView1.Proc.Fill(clBlack);
You can not edit the nodes of the polygon selected area; however. It is just not possible with ImageEn. William Miller Email: w2m@frontiernet.net EBook: http://www.imageen.com/ebook/ Apprehend: http://www.frontiernet.net/~w2m/index.html |
markus |
Posted - Nov 20 2012 : 08:56:17 Thanks for your reply.
Perhaps there is another solution. Background: I have to fill the selected or drawed polygon area with a fill-color. Is there any way to draw a polygon (with editable nodes) and fill this area with an color?
Thanks a lot for all tips and answers.
Markus |
w2m |
Posted - Nov 20 2012 : 08:52:25 Unfortunately, ImageEn does not support moveing the points of a selection polygon like you can with a rectangle.
William Miller |