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

How To Properly Load PNG files into GapiDraw?


How To Properly Load PNG files into GapiDraw?

Postby Bunkai » Feb 17, 2007 @ 11:14am

Based on my information from GapiDraw documentation, if I have a set of .png files stored in GapiVFS, I should them via CGapiFileBuffer::Open().

I can do that, however, then, if I load .png files, I need to know file height, file length, and additional parameters. How to access those parameters, please?

An alternative seems to be loading image file into CGapiSurface(), but this class is designed for outputting data to screen and not to hold dozens of resource images.

Could I kindly ask, what way is the correct one, to load several TileSet .png images into PocketPC memory?

Thank you and with regards,
Rene.
Bunkai
pm Member
 
Posts: 71
Joined: Mar 18, 2006 @ 5:01pm


Postby InexorableTash » Feb 20, 2007 @ 7:53am

User avatar
InexorableTash
pm Member
 
Posts: 99
Joined: Sep 13, 2002 @ 6:14am


Postby Bunkai » Feb 20, 2007 @ 11:30am

Bunkai
pm Member
 
Posts: 71
Joined: Mar 18, 2006 @ 5:01pm


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