Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
atlandev.mq
Posted - Feb 06 2012 : 12:27:36 Is it possible to automatically draw with TimageEnVect a star, an arrow or else? The exemble provides inserts an image but I would like to create an object 100% vector. Such as buttonclick(sender: TObject); begin Self.ImageEnVect.AddNewObject(iekMyStar, Rect(10,10,20,20), clRed); end; best regards.
4 L A T E S T R E P L I E S (Newest First)
atlandev.mq
Posted - Feb 08 2012 : 05:54:43 Cool, thanks a lot.
fab
Posted - Feb 08 2012 : 00:44:32
quote:How could keep the ratio in polyline ?
User can press and hold ALT key while resizing, or you can force it setting:
ImageEnVect1.ForceALTkey := true;
atlandev.mq
Posted - Feb 07 2012 : 20:34:30 Thank for reply. It works fine. Other day, Other problem... How could keep the ratio in polyline ? I want to let users change the height or width but keeping the same ratio. I've tried with "OnObjectMoveResize" but calculate in real time doesn't seem to be the solution. Suggestion ? Best regard and good work. Cheer.
fab
Posted - Feb 07 2012 : 00:46:33 It is only possible to draw a polygon. For example this draws a star: