On Sat, 10 Nov 2001, hzeng wrote: > Hi, > Thanks. And I have another problem about the clipBoxes. In the Xv > driver,the clipBoxes is determinded by > the drwwindow, and in every founction interface, there are both > drw_x,drw_y,drw_w,drw_h and the clipBoxes. > I am not clear the use of clipBoxes, how can I fully use the clipBoxes > when the driver support clip? > Thanks again! > Hzeng
drw_x,drw_y,drw_w,drw_h define the rectangle specified by the client. ClipBoxes defines the part of that rectangle which are not obscured. At best there is one box in the clipBox region and it is the same size as drw_x,drw_y,drw_w,drw_h. If that window is obscured, however, clipBoxes may have more rectangles or smaller rectangles. There are plenty of examples in other drivers. Mark. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert