class for scaling coordinates
![]() | Scaler (Config *c, Viewer *v, DrawWindow *d) |
![]() | ~Scaler () |
![]() | MakeLarger () Make larger. Change scale value. |
![]() | MakeSmaller () Make smaller. Change scale value. |
![]() | ScaleFactor () Popup scale factor dialog. |
![]() | NormalScale () Return to normal scaling. |
![]() | WholeDrawing () Calculate scale value such that whole document fits to one page. |
![]() | ScreenFit () |
![]() | Scale (int x) const scale coordinate x. |
![]() | Scale (const Point *p) const |
![]() | ScaleCorrect (int x) const Correct X-window coordinate to the right scaled coordinate. |
![]() | ScaleCorrect (const Point *p) const |
![]() | SetScaleValue (double newValue) Really do the scaling. Redraws the contents of the viewer. |
![]() | GetScaleValue () const |
![]() | SetScaleFactor (double d) |
![]() | GetMainWindow () const |
![]() | GetScaleDialog () const |
![]() | Save (OutputFile *f) Save scale value to file. |
![]() | Load (InputFile *f, double format) Load scale value from file. |
![]() | Check (InputFile *f, double format) Check (but not load) scale value from file. |
class for scaling coordinates
virtual ~Scaler()
void MakeLarger()
void MakeSmaller()
void ScaleFactor()
void NormalScale()
void WholeDrawing()
void ScreenFit()
int Scale(int x) const
Point Scale(const Point *p) const
int ScaleCorrect(int x) const
Point ScaleCorrect(const Point *p) const
void SetScaleValue(double newValue)
double GetScaleValue() const
void SetScaleFactor(double d)
DrawWindow* GetMainWindow() const
ScaleDialog* GetScaleDialog() const
void Save(OutputFile *f)
bool Load(InputFile *f, double format)
bool Check(InputFile *f, double format)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de