ARB
Public Member Functions | List of all members
AW_zoomable Class Reference

#include <aw_device.hxx>

Inheritance diagram for AW_zoomable:
Inheritance graph
[legend]

Public Member Functions

 AW_zoomable ()
 
virtual ~AW_zoomable ()
 
void zoom (AW_pos scale)
 
AW_pos get_scale () const
 
AW_pos get_unscale () const
 
AW::Vector get_offset () const
 
void rotate (AW_pos angle)
 
void set_offset (const AW::Vector &off)
 
void shift (const AW::Vector &doff)
 
void reset ()
 
double transform_size (const double &size) const
 
double rtransform_size (const double &size) const
 
double rtransform_pixelsize (int pixelsize) const
 
AW::Vector transform (const AW::Vector &vec) const
 
AW::Vector rtransform (const AW::Vector &vec) const
 
AW::Position transform (const AW::Position &pos) const
 
AW::Position rtransform (const AW::Position &pos) const
 
AW::LineVector transform (const AW::LineVector &lvec) const
 
AW::LineVector rtransform (const AW::LineVector &lvec) const
 
AW::Rectangle transform (const AW::Rectangle &rect) const
 
AW::Rectangle rtransform (const AW::Rectangle &rect) const
 
void transform (AW_pos x, AW_pos y, AW_pos &xout, AW_pos &yout) const
 
void rtransform (AW_pos x, AW_pos y, AW_pos &xout, AW_pos &yout) const
 

Detailed Description

Definition at line 113 of file aw_device.hxx.

Constructor & Destructor Documentation

AW_zoomable::AW_zoomable ( )
inline

Definition at line 119 of file aw_device.hxx.

References reset().

virtual AW_zoomable::~AW_zoomable ( )
inlinevirtual

Definition at line 120 of file aw_device.hxx.

Member Function Documentation

void AW_zoomable::zoom ( AW_pos  scale)

Definition at line 336 of file AW_device.cxx.

Referenced by get_drawsize(), AWT_canvas::init_device(), and AW_device::pop_clip_scale().

AW_pos AW_zoomable::get_scale ( ) const
inline

Definition at line 124 of file aw_device.hxx.

Referenced by AW_device::pop_clip_scale(), and AW_device::push_clip_scale().

AW_pos AW_zoomable::get_unscale ( ) const
inline
AW::Vector AW_zoomable::get_offset ( ) const
inline

Definition at line 126 of file aw_device.hxx.

Referenced by AW_device::push_clip_scale().

void AW_zoomable::rotate ( AW_pos  angle)
void AW_zoomable::set_offset ( const AW::Vector off)
inline
void AW_zoomable::shift ( const AW::Vector doff)
inline

Definition at line 131 of file aw_device.hxx.

Referenced by PH_display::display(), and AWT_canvas::init_device().

void AW_zoomable::reset ( )

Definition at line 331 of file AW_device.cxx.

Referenced by AW_zoomable(), AW_device::pop_clip_scale(), and AW_device::reset().

double AW_zoomable::transform_size ( const double &  size) const
inline

Definition at line 135 of file aw_device.hxx.

double AW_zoomable::rtransform_size ( const double &  size) const
inline

Definition at line 136 of file aw_device.hxx.

Referenced by SEC_root::paint(), and SEC_root::paintAnnotation().

double AW_zoomable::rtransform_pixelsize ( int  pixelsize) const
inline

Definition at line 138 of file aw_device.hxx.

AW::Vector AW_zoomable::transform ( const AW::Vector vec) const
inline
AW::Vector AW_zoomable::rtransform ( const AW::Vector vec) const
inline
AW::Position AW_zoomable::transform ( const AW::Position pos) const
inline

Definition at line 148 of file aw_device.hxx.

References transform().

Referenced by transform().

AW::Position AW_zoomable::rtransform ( const AW::Position pos) const
inline

Definition at line 149 of file aw_device.hxx.

References rtransform().

Referenced by rtransform().

AW::LineVector AW_zoomable::transform ( const AW::LineVector lvec) const
inline

Definition at line 156 of file aw_device.hxx.

References AW::LineVector::line_vector(), AW::LineVector::start(), and transform().

Referenced by transform().

AW::LineVector AW_zoomable::rtransform ( const AW::LineVector lvec) const
inline

Definition at line 157 of file aw_device.hxx.

References AW::LineVector::line_vector(), rtransform(), and AW::LineVector::start().

Referenced by rtransform().

AW::Rectangle AW_zoomable::transform ( const AW::Rectangle rect) const
inline

Definition at line 159 of file aw_device.hxx.

References transform().

Referenced by transform().

AW::Rectangle AW_zoomable::rtransform ( const AW::Rectangle rect) const
inline

Definition at line 160 of file aw_device.hxx.

References rtransform().

Referenced by rtransform().

void AW_zoomable::transform ( AW_pos  x,
AW_pos  y,
AW_pos xout,
AW_pos yout 
) const
inline

Definition at line 163 of file aw_device.hxx.

References AW::Vector::x(), and AW::Vector::y().

void AW_zoomable::rtransform ( AW_pos  x,
AW_pos  y,
AW_pos xout,
AW_pos yout 
) const
inline

Definition at line 167 of file aw_device.hxx.

References AW::Vector::x(), and AW::Vector::y().


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