mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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
This commit is contained in:
@@ -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
|
(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
|
Fl_Display_Device, such as Fl_Printer and Fl_Copy_Surface) can be executed
|
||||||
at any time as follows:
|
at any time as follows:
|
||||||
<ol><li> Memorize what is the current drawing surface calling Fl_Surface_Device::surface(),
|
<ol><li> Make your surface the new current drawing surface calling the
|
||||||
and make your surface the new current drawing surface calling the surface's
|
Fl_Surface_Device::push_current(Fl_Surface_Device*) function.
|
||||||
set_current() function;
|
|
||||||
<li> Make a series of calls to any of the drawing functions described below;
|
<li> Make a series of calls to any of the drawing functions described below;
|
||||||
these will operate on the new current drawing surface;
|
these will operate on the new current drawing surface;
|
||||||
<li> Set the current drawing surface back to its previous state calling
|
<li> Set the current drawing surface back to its previous state calling
|
||||||
the previous surface's set_current().
|
Fl_Surface_Device::pop_current().
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
\subsection ssect_DrawingUnit What Drawing Unit do FLTK drawing functions use?
|
\subsection ssect_DrawingUnit What Drawing Unit do FLTK drawing functions use?
|
||||||
|
|||||||
Reference in New Issue
Block a user