Yeah you'd want to use the surface extension for this. Should be easy enough. The hardest part is the interface. The actual drawing should be pretty simple. Play around with the surface object first to make sure you understand how it works before trying to build a whole drawing app with it.
thanx for reply
here is a little piece of sh** i made with draw object : http://mon-partage.fr/f/UiHGyv8v/
i have only 4 examples for surface in help directory/ do you know good explanations for this object?
draw a simple rectangle with the mouse for example...
It's pretty easy to understand if you just play with it, but here you are. I made a simple paint program.
It uses two surface objects. One to display the pallet and one to draw on.