ARB
Public Member Functions | Protected Member Functions | List of all members
Scaler Class Referenceabstract
Inheritance diagram for Scaler:
Inheritance graph
[legend]
Collaboration diagram for Scaler:
Collaboration graph
[legend]

Public Member Functions

 Scaler (const Position &start, double unscale_, AWT_graphic_exports &exports_)
 
void draw_drag_indicator (AW_device *device, int drag_gc) const FINAL_OVERRIDE
 
- Public Member Functions inherited from Dragged
 Dragged (AWT_graphic_exports &exports_)
 
void do_drag (const AW_clicked_element *drag_target, const Position &mousepos)
 
void do_drop (const AW_clicked_element *drop_target, const Position &mousepos)
 
void hide_drag_indicator (AW_device *device, int drag_gc) const
 
- Public Member Functions inherited from AWT_command_data
virtual ~AWT_command_data ()
 

Protected Member Functions

const Positionstartpos () const
 
Vector scaling (const Position &current) const
 
- Protected Member Functions inherited from Dragged
AWT_graphic_exportsget_exports ()
 

Additional Inherited Members

- Public Types inherited from Dragged
enum  DragAction { DRAGGING, DROPPED }
 
- Static Public Member Functions inherited from Dragged
static bool valid_drag_device (AW_device *device)
 

Detailed Description

Definition at line 1433 of file TreeDisplay.cxx.

Constructor & Destructor Documentation

Scaler::Scaler ( const Position start,
double  unscale_,
AWT_graphic_exports exports_ 
)
inline

Definition at line 1461 of file TreeDisplay.cxx.

References is_nan_or_inf(), and td_assert.

Member Function Documentation

const Position& Scaler::startpos ( ) const
inlineprotected

Definition at line 1457 of file TreeDisplay.cxx.

Vector Scaler::scaling ( const Position current) const
inlineprotected

Definition at line 1458 of file TreeDisplay.cxx.

Referenced by BranchLinewidthScaler::do_scale().

void Scaler::draw_drag_indicator ( AW_device device,
int  drag_gc 
) const
inlinevirtual

Implements Dragged.

Definition at line 1470 of file TreeDisplay.cxx.

Referenced by AWT_graphic_tree::handle_command().


The documentation for this class was generated from the following file: