On Mar 22, 2007, at 11:14 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
> > How can I use the fl_clip_box function, and how does it work ? > I suppose that the four of the first arguments are the rectangle's > coordonates in wich the clipping will occurs, but what about the > four next arguments ? int fl_clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H) Intersect the rectangle x,y,w,h with the current clip region and returns the bounding box of the result in X,Y,W,H. Returns non-zero if the resulting rectangle is different than the original. This can be used to limit the necessary drawing to a rectangle. W and H are set to zero if the rectangle is completely outside the region. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

