diff options
| author | Manolo Gouy <Manolo> | 2011-02-04 09:17:45 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-04 09:17:45 +0000 |
| commit | 7c932c25d6a74530e5b086d8b0d888546cad10cc (patch) | |
| tree | a1561813d035706f338629accbf21088a90a159f /src/Fl_Paged_Device.cxx | |
| parent | 2251609ab3a4db3ed65c6e2974f6f92e0c564a5e (diff) | |
Added the possibility to call Fl_Paged_Device::scale(factor) with a single argument.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
| -rw-r--r-- | src/Fl_Paged_Device.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx index 6bdf24b30..75c0e9dc1 100644 --- a/src/Fl_Paged_Device.cxx +++ b/src/Fl_Paged_Device.cxx @@ -206,7 +206,9 @@ void Fl_Paged_Device::origin(int x, int y) {} After a scale() call, do a printable_rect() call to get the new dimensions of the printable page area. Successive scale() calls don't combine their effects. @param scale_x Horizontal dimensions of plot are multiplied by this quantity. - @param scale_y Same as above, vertically. + @param scale_y Same as above, vertically. + The value 0. is equivalent to setting \p scale_y = \p scale_x. Thus, scale(factor); + is equivalent to scale(factor, factor); */ void Fl_Paged_Device::scale (float scale_x, float scale_y) {} |
