Menu

#11 Programmable Drawing Tool

open
nobody
None
5
2004-06-15
2004-06-15
Anonymous
No

I think it would be cool if you could have a drawing tool,
where you can right-click to bring up a popup menu of
user-defined drawing tool scripts, where each script
could use a system like this:

var
PaintArea: TRect;

procedure DrawingArea_OnMouseDown;
...
procedure DrawingArea_OnMouseMove
...
procedure DrawingArea_OnMouseUp
...
procedure DrawingArea_OnExecute;
begin
//event handler to perform the drawing tool operation
//e. g.
for x := PaintArea.Left to PaintArea.Right do
for y := PaintArea.Top to PaintArea.Bottom do
DrawingArea.Pixel[x,y] := RGB(255,0,0);
end;

It would be excellent to be able to program a custom
drawing tool. You could use DWS for scripting or
something like that.

GrantD@hotpop.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.