summaryrefslogtreecommitdiff
path: root/documentation/drawing.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-11 20:58:12 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-11 20:58:12 +0000
commit34e35db71f83d0636e91222f4b2084b9eacdc21e (patch)
treee012e5ff446bb5752d425c20b5e34e00e28b5cd3 /documentation/drawing.html
parentdebda040dccc9c4b9930e1f71d695f23454fa9c4 (diff)
Prefer fl_push_clip() over fl_clip().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/drawing.html')
-rw-r--r--documentation/drawing.html11
1 files changed, 6 insertions, 5 deletions
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:
<H3><A name="clipping">Clipping</A></H3>
<P>You can limit all your drawing to a rectangular region by calling
-<TT>fl_clip</TT>, and put the drawings back by using <TT>fl_pop_clip</TT>.
+<TT>fl_push_clip</TT>, and put the drawings back by using <TT>fl_pop_clip</TT>.
This rectangle is measured in pixels and is unaffected by the current
transformation matrix.
<P>In addition, the system may provide clipping when updating windows
which may be more complex than a simple rectangle.</P>
-<H4><A name="fl_clip">void fl_push_clip(int x, int y, int w, int h)</A><BR>
-void fl_clip(int x, int y, int w, int h)</H4>
+<H4><A name="fl_push_clip">void fl_clip(int x, int y, int w, int h)</A><BR>
+void fl_push_clip(int x, int y, int w, int h)</H4>
<P>Intersect the current clip region with a rectangle and push this new
-region onto the stack.
+region onto the stack. The <CODE>fl_clip()</CODE> name is deprecated and
+will be removed from future releases.
<H4>void fl_push_no_clip()</H4>
@@ -93,7 +94,7 @@ region onto the stack.
<TD><B>Note:</B>
<P>You must call <TT>fl_pop_clip()</TT> once for every
- time you call <TT>fl_clip()</TT>. If you return to FLTK
+ time you call <TT>fl_push_clip()</TT>. If you return to FLTK
with the clip stack not empty unpredictable results
occur.