aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
296 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
StatPays
En ligne

United States : 6
Colombia : 4
China : 4
Australia : 1



Depuis le 11/02/2009

France:3249203
United States:1011339
United Kingdom:527623
Germany:290500
Italy:246121
Canada:178547
Belgium:163583
Japan:124718
Spain:102914
Russian Federation:91119
Switzerland:84533
Netherlands:83691
Mexico:76530
Brazil:66571
Argentina:59224
Czech Republic:51446
Poland:48950
Morocco:47300
China:44316
Colombia:39940
Hungary:38976
Turkey:35325
Australia:35067
Portugal:28839
Sweden:26584
Austria:23412
Taiwan:21649
Finland:20429
Denmark:20080
Venezuela:15533
India:13399
Romania:12813
Korea:11691
Greece:11424
Norway:11118
New Zealand:10788
Chile:10575
Luxembourg:10288
Slovakia:8642
Croatia:8271
Ireland:8085
Ukraine:8065
Indonesia:8016
Malaysia:7445
South Africa:6413
Uruguay:6370
Singapore:6222
Israel:5713
Peru:5160
Estonia:4555
Bulgaria:4407
Thailand:4204
Lithuania:4109
Cote D'Ivoire:3026
Madagascar:2920
New Caledonia:2580
Gibraltar:2569
Belarus:2187
Hong Kong:2146
French Polynesia:2145
Dominican Republic:1720
Philippines:1635
Saudi Arabia:1615
Latvia:1519
Serbia and Montenegro:1518
Pakistan:1487
Moldova:1444
Algeria:1412
United Arab Emirates:1370
Guatemala:1295
Slovenia:1253
Ecuador:1232
Bosnia and Herzegovina:987
Costa Rica:956
Tuvalu:924
Vietnam:915
Monaco:871
Paraguay:807
Egypt:786
Macedonia:541
Bolivia:499
Nicaragua:446
Guadeloupe:435
Cyprus:403
GoogleBot:398
Lebanon:372
Honduras:361
Cuba:361
Netherlands Antilles:351
Kazakstan:345
Syrian Arab Republic:287
Jordan:276
Mauritius:244
Albania:234
Kenya:234
Andorra:223
Ghana:223
Nepal:212
Georgia:202
Reunion:191
Mozambique:180
Congo:180
Uzbekistan:25
Jamaica:2
Zimbabwe:1
Iran:1
Trinidad and Tobago:
forum.gifForum - iziBasic - Topic #1671

Forum - Forum
iziBasic - iziBasic


active  Topic # 1671  Rotating bitmaps

01/01/2011 @ 18:23
by Joe

Anonymous

visitor

Hi, I was wondering if anyone knows how to rotate a  tBmp image in iziBASIC.Unfortunately I'm not very good at math so I haven't figured it out yet.Any reply would be appreciated
Write to Joe   Post an answer  Top
Answer n° 1
--------
23/01/2011 @ 22:32
by aldweb

Anonymous

visitor

Hello Joe.

 

iziBasic does not include a sprites engine, so it will be quite hard to rotate your image easily.

Basically, I see 2 ways:

1) Include your images and their possible rotations (made with some Paint program) in a resource file, display them accordingly to your needs

2) Capture all of the displayed picture's pixels, do the math calculation for the rotation, then display the new pixels. This will be very slow... Not worth trying for some real time experience!

 

Cheers,

aldweb

Write to aldweb   Post an answer  Top
Answer n° 2
--------
24/01/2011 @ 16:25
by Joe

Anonymous

visitor

Hey Aldweb,

  Thanks for the answer I think I might try method 1.were did everone else go....

Thanks again

Write to Joe   Post an answer  Top
Answer n° 3
--------
24/01/2011 @ 23:43
by aldweb

Anonymous

visitor

Hello Joe,

 

A good sample source code for moving around some images is the NekoCat sample application. The cat is not rotated, its successive images are just like a cartoon. The same principle of successives images but not moving for your rotation work will do the trick I guess.

 

Cheers,

aldweb

Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Important! Important!   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^