This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Clipping II: The final clip!


Clipping II: The final clip!

Postby sunbeam60 » Sep 13, 2003 @ 12:51pm

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
sunbeam60
pm Member
 
Posts: 11
Joined: Jun 10, 2003 @ 12:24pm


Postby Johan » Sep 15, 2003 @ 8:35pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron