next up previous contents
Next: Displaying 3D objects Up: Handling events Previous: Getting mouse position

Rubberbanding

A nicer way to add a line to an image is to use rubberbanding. VGUI contains a rubberbanding tableau (vgui_rubberbander) which takes a vgui_easy2D as its child. This next example allows the user to select either a line, circle or polygon to rubberband. \input{rubberband}



Target Junior User
2000-10-31