diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/drawing.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 666fe541d..26c615f03 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -62,7 +62,7 @@ for the screen in use and obtains quantities in <b>drawing units</b>. The current scale factor value, for an Fl_Window named \e window, is given by \code int nscreen = window->screen_num(); // the screen where window is mapped -float s = Fl::screen_driver()->scale(nscreen); // this screen's scale factor +float s = Fl::screen_scale(nscreen); // this screen's scale factor \endcode One drawing unit generally corresponds to one screen pixel... <li>...but not on Mac OS X and for retina displays, where one drawing unit corresponds |
