Doxygen doc: rewording for more clarity.
This commit is contained in:
parent
bb5ef3b1d0
commit
52f4aa5546
@ -27,7 +27,7 @@
|
|||||||
will be recorded in the clipboard. It's possible to draw widgets (using Fl_Copy_Surface::draw()
|
will be recorded in the clipboard. It's possible to draw widgets (using Fl_Copy_Surface::draw()
|
||||||
) or to use any of the \ref fl_drawings or the \ref fl_attributes.
|
) or to use any of the \ref fl_drawings or the \ref fl_attributes.
|
||||||
Finally, delete the Fl_Copy_Surface object to load the clipboard with the graphical data.
|
Finally, delete the Fl_Copy_Surface object to load the clipboard with the graphical data.
|
||||||
<br> Fl_GL_Window 's can be copied to the clipboard as well.
|
<br> Fl_Gl_Window 's can be copied to the clipboard as well.
|
||||||
<br> Usage example:
|
<br> Usage example:
|
||||||
\code
|
\code
|
||||||
Fl_Widget *g = ...; // a widget you want to copy to the clipboard
|
Fl_Widget *g = ...; // a widget you want to copy to the clipboard
|
||||||
|
@ -45,7 +45,8 @@ class Fl_Widget;
|
|||||||
current drawing surface (not necessary with class Fl_Printer because it is done by Fl_Printer::begin_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
|
<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.
|
(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()).
|
Drawing surfaces from Fl_Widget_Surface derived classes allow additional ways
|
||||||
|
to draw to them (e.g., Fl_Printer::print_widget(), Fl_Image_Surface::draw()).
|
||||||
<li> After all drawing requests have been performed, redirect graphics requests back to their previous destination
|
<li> After all drawing requests have been performed, redirect graphics requests back to their previous destination
|
||||||
with \c Fl_Surface_Device::pop_current();.
|
with \c Fl_Surface_Device::pop_current();.
|
||||||
<li> Delete \c surface.
|
<li> Delete \c surface.
|
||||||
|
Loading…
Reference in New Issue
Block a user