Rotating Bitmaps

new topic     » topic index » view thread      » older message » newer message

Hello Everybody,

I have a question:
Does anyone have (or know of) a function that will rotate a
bitmap and return the modified bitmap.
example:

function rotate_bm (sequence bm, atom angle)
    bm = ...guts... angle ...
    return bm
end function

Important points for me is:
      I.   MINIMAL or NO image corruption
      II.  fast function execution
      III. no need for me to know memory addresses and the like

What I'm doing is a game where I want to have bm sprites
of characters facing one direction but in different positions.
The rotate function would take care of the rest.

TIA,
Lewis Townsend
|\      ____ _     _     _ _    __
| \    | __/ ||   / |   // || / __ \
|  \   ||_   ||  //||  //  || ||__\|
|   \  | _|  || // || //   || \___ \
| |\ \ ||__  ||//  ||//    || |\__||
| | \ \|___\ |_/   |_/     || \____/
| |  \ \      _____    _______
| |   \ \     | __ \  | _   _ |
| |    \ \    ||__||  |/ | | \|
| |     \ \   | __ /     | |
| |______\ \  ||  \\     | |
|___________\ ||  ||     |_|
Keroltarr at hotmail.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu