Page 1 of 1

Clipping II: The final clip!

PostPosted: Sep 13, 2003 @ 12:51pm
by sunbeam60
Hi all,

Been messing around with GapiDraw and I'm kinda confused about how clipping works here.

From v2.03 clipping should work on all operations. Does this imply that I can set up a full clipping rectangle (i.e. one that covers the entire backbuffer) and then blit other surfaces on the edges on the backbuffer?

I tried setting a clipper up in CGapiApplication::CreateSurfaces (using display.SetClipper) but whenever I blit another surface close to the backbuffer's edge, nothing is displayed.

This lead me to believe that clipping works only "inside" the surface, which would also explain why the sticky: "Clipping function" has not been removed. I _was_ kinda hoping that the topic was invalid since the original post is from before v2.03 was released.

So, basically, my question is: Do I still have to do manual clipping on surface edges or am I just doing something wrong when setting up a clipper on the backbuffer?

Best regards
Toft

PostPosted: Sep 15, 2003 @ 8:35pm
by Johan