diff options
| author | Manolo Gouy <Manolo> | 2018-05-09 14:16:35 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-09 14:16:35 +0000 |
| commit | 2b7aac129b05638ffd21be5c037192e797d6d074 (patch) | |
| tree | dd00e6cb7d95bbc0d5c78cb05cd0ec13fc819bce /FL/Fl_Device.H | |
| parent | 80818999345212384326ec833d090988c633eb49 (diff) | |
Rename Fl_Paged_Device::start_job() to begin_job() and Fl_Paged_Device::start_page() to begin_page().
The new function names begin_job() and begin_page() better match end_job() and end_page() with which
they must be used by pair.
The old names start_job() and start_page() are maintained for API compatibility with FLTK 1.3.x
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
| -rw-r--r-- | FL/Fl_Device.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 56483e214..9162d13b1 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -41,7 +41,7 @@ class Fl_Widget; A drawing surface other than the computer's display, is typically used as follows: <ol><li> Create \c surface, an object from a particular Fl_Surface_Device derived class (e.g., Fl_Copy_Surface, Fl_Printer). <li> Call \c Fl_Surface_Device::push_current(surface); to redirect all graphics requests to \c surface which becomes the new - current drawing surface (not necessary with class Fl_Printer because it is done by Fl_Printer::start_job()). + current drawing surface (not necessary with class Fl_Printer because it is done by Fl_Printer::begin_job()). <li> At this point all of the \ref fl_drawings (e.g., fl_rect()) or the \ref fl_attributes or \ref drawing_images functions (e.g., fl_draw_image(), Fl_Image::draw()) operate on the new current drawing surface. Certain drawing surfaces allow additional ways to draw to them (e.g., Fl_Printer::print_widget(), Fl_Image_Surface::draw()). |
