diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Scroll.html | 2 | ||||
| -rw-r--r-- | documentation/drawing.html | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/documentation/Fl_Scroll.html b/documentation/Fl_Scroll.html index 5b68214ab..2e8a17fb4 100644 --- a/documentation/Fl_Scroll.html +++ b/documentation/Fl_Scroll.html @@ -34,7 +34,7 @@ Fl_Double_Window</TT>. </P> draw()</TT> method that draws the contents. The scrolling is done by changing the <TT>x()</TT> and <TT>y()</TT> of the widget, so this child must use the <TT>x()</TT> and <TT>y()</TT> to position it's drawing. - To speed up drawing it should test <A href=drawing.html#fl_clip><TT>fl_clip()</TT></A> + To speed up drawing it should test <A href=drawing.html#fl_push_clip><TT>fl_push_clip()</TT></A> . </P> <P>Another very useful child is a single <A href=Fl_Pack.html#Fl_Pack><TT> Fl_Pack</TT></A>, 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: <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. |
