Using drawingapi to draw out what I have drawn

I want to have the drawingapi copy what I had drawn or a predrawn picture.