![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello all,
I need some help. I'm making some GPS software, and now i wat to show a compass needle. I first tried it with 2 image controls. One would be invisible and contain the original image, the other would contain a rotated version using the FastRotate from the DZImage lib using the heading degrees for the rotating. This however would result in a memory error after a minute or 2. So i tried another approach. I generated 361 images (for 0 to 360 degrees) and embedded them in one file. Now when the program loads, it takes a long time to load them into an imagelist (using retreiveimage). Is there not a faster way to do this? |
|
|||
|
TARQ
In erel's gps4ppc source code is a fine example of a compass. http://basic4ppc.com/forum/showthread.php?t=400 ![]()
__________________
Using 6.30 dennishea
|
|
|||
|
If you want to rotate the Compass picture it works very well with
Sub Rotate (course) degree = 361 - course Image25.Image = dr.FastRotateImage(Image26.Image, degree) End Sub dr. from dzImage sorry it works only in the interpreter version not in the compiled version. Georg Last edited by Georg : 04-25-2008 at 07:14 AM. Reason: Mistake |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Benchmark speed? | DaveW | Basic4ppc Wishlist | 4 | 11-07-2008 08:57 AM |
| Speed of the compiled application? | JamesC | Questions & Help Needed | 5 | 03-13-2008 12:59 AM |
| Speed of dynamic control creation | willisgt | Questions & Help Needed | 4 | 12-05-2007 02:52 PM |
| Speed | grgczyz | Basic4ppc Wishlist | 3 | 05-31-2007 01:55 PM |
| Control Speed of car | JJM | Share Your Creations | 0 | 05-27-2007 03:40 PM |