[comp.windows.open-look] sketching routines in x and xview

enis@relax.Berkeley.EDU (Enis Konuk - P.S. Consulting Boston) (12/19/90)

Hi,

I am in the process of writing a set of sketching routines in x and xview and I was wondering if anybody already has some starting point for these which will reduce the amount of work I have to do.

Sketching routines are event based and let the user drag a given geometry (a rectangle, a circle) on the screen until a seqence of mouse buttons are hit. The user hits the left mouse button to anchor the rectangle and then moves the mouse around and the rectangle stretches according to the mouse movement and once the user is happy with the size and location s/he hits the left mouse button again and the rectangle is drawn and the routine exits returning the location and size of object.

Thanks a lot for any help

Enis