diff options
| author | Manolo Gouy <Manolo> | 2017-10-23 16:09:26 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-10-23 16:09:26 +0000 |
| commit | 84aba46e8ae5b2520125a69af49004fa032d33ff (patch) | |
| tree | 021c8e42d460a195b3aae0f6181976c927a5d655 | |
| parent | 554ab20b80f431943ea5f70f5d843eca56207adc (diff) | |
Refer to the preferred Fl_Surface_Device::push_current()/pop_current() functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | documentation/src/drawing.dox | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 08116e710..2d217f2ea 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -27,13 +27,12 @@ In contrast, code that draws to other drawing surfaces than the display (i.e., instances of derived classes of the Fl_Surface_Device class, except Fl_Display_Device, such as Fl_Printer and Fl_Copy_Surface) can be executed at any time as follows: -<ol><li> Memorize what is the current drawing surface calling Fl_Surface_Device::surface(), -and make your surface the new current drawing surface calling the surface's -set_current() function; +<ol><li> Make your surface the new current drawing surface calling the +Fl_Surface_Device::push_current(Fl_Surface_Device*) function. <li> Make a series of calls to any of the drawing functions described below; these will operate on the new current drawing surface; <li> Set the current drawing surface back to its previous state calling -the previous surface's set_current(). +Fl_Surface_Device::pop_current(). </ol> \subsection ssect_DrawingUnit What Drawing Unit do FLTK drawing functions use? |
