From 34e35db71f83d0636e91222f4b2084b9eacdc21e Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Another very useful child is a single Fl_Pack, which is itself a group that packs it's children diff --git a/documentation/drawing.html b/documentation/drawing.html index 12e4cb13f..2a8a99d5e 100644 --- a/documentation/drawing.html +++ b/documentation/drawing.html @@ -67,18 +67,19 @@ following types of drawing functions:
You can limit all your drawing to a rectangular region by calling -fl_clip, and put the drawings back by using fl_pop_clip. +fl_push_clip, and put the drawings back by using fl_pop_clip. This rectangle is measured in pixels and is unaffected by the current transformation matrix.
In addition, the system may provide clipping when updating windows which may be more complex than a simple rectangle.
-Intersect the current clip region with a rectangle and push this new
-region onto the stack.
+region onto the stack. The fl_clip() name is deprecated and
+will be removed from future releases.
You must call fl_pop_clip() once for every - time you call fl_clip(). If you return to FLTK + time you call fl_push_clip(). If you return to FLTK with the clip stack not empty unpredictable results occur. -- cgit v1.2.3