class
Rubberband
: public
Resource
(Return to index)
rubberbanding graphical objects (iv-2.6)
Type:
Instantiable
Base Classes:
public
Resource
Derived Classes
Include file:
IV-2_6/InterViews/rubband.h
Description:
man page
Public:
virtual void
Draw
()
virtual void
Erase
()
Canvas
*
GetCanvas
()
virtual ClassId
GetClassId
()
Painter
*
GetPainter
()
void
GetTrack
(IntCoord& x, IntCoord& y)
virtual boolean
IsA
(ClassId id)
virtual void
Redraw
()
Rubberband
(
Painter
*,
Canvas
*, IntCoord offx, IntCoord offy)
virtual void
SetCanvas
(
Canvas
*)
virtual void
SetPainter
(
Painter
*)
void
SetTrack
(IntCoord x, IntCoord y)
virtual void
Track
(IntCoord x, IntCoord y)
IntCoord
TrackX
()
IntCoord
TrackY
()
virtual
~Rubberband
()
Protected:
float
Angle
(IntCoord, IntCoord, IntCoord, IntCoord)
float
Distance
(IntCoord, IntCoord, IntCoord, IntCoord)
Canvas
*
canvas
boolean
drawn
Painter
*
output
IntCoord
trackx, offx
IntCoord
tracky, offy
(more documentation)