diff options
| author | Manolo Gouy <Manolo> | 2010-10-12 12:34:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-10-12 12:34:19 +0000 |
| commit | 5c5537930151f1ab7573ee357a4eefd93e6608ac (patch) | |
| tree | 9fae7af468bce653eda71bf203ecef14c4ae7625 /documentation | |
| parent | fdc59c9870896a017f0067ee5dc320efb6f762e9 (diff) | |
Added Doxygen doc to offscreen drawing functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/drawing.dox | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 299709574..68bb2df24 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -925,15 +925,13 @@ This is the same as doing \p draw(x,y,img->w(),img->h(),0,0). \subsection ssect_Offscreen Offscreen Drawing -\todo -Doxygenate the offscreen drawing functions. - Sometimes it can be very useful to generate a complex drawing in memory first and copy it to the screen at a later point in time. This technique can significantly reduce the amount of -repeated drawing. Fl_Double_Window uses offscreen rendering +repeated drawing. Offscreen drawing functions are declared in <FL/x.H>. +Fl_Double_Window uses offscreen rendering to avoid flickering on systems that don't support -double-buffering natively. +double-buffering natively. Fl_Offscreen fl_create_offscreen(int w, int h) @@ -957,8 +955,7 @@ void fl_end_offscreen() \par Quit sending drawing commands to this offscreen buffer. -void fl_copy_offscreen(int x, int y, int w, int h, -Fl_Offscreen osrc, int srcx, int srcy) +void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy) \par Copy a rectangular area of the size \p w*h from \p srcx,srcy |
