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

How do I copy a part of a Surface


How do I copy a part of a Surface

Postby jbella » Jun 24, 2002 @ 9:22pm

Hi!

I need to copy a part of a surface to a new surface. The purpose is to store several images(tiles) in one so that i only need one graphics file.

It was possible in the old version of PocketFrog, that I used until now, but how do I do it in version 0.5.2 (or when ever it was changed). In the old version i used the feature to Blit a Rect from one surface to another.

Regards Johan Bellander
jbella
 


Postby Pam » Jun 24, 2002 @ 9:35pm

Hi,

Take a look in this thread:



There's a code snippet for changing the rendering target to blit from one surface to another.

Pam
All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby Kzinti » Jun 25, 2002 @ 12:58am

You still use Blit and specify a rectangle... Take a look at the thread referred by Pam.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Thanks

Postby jbella » Jun 25, 2002 @ 12:28pm

jbella
 


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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