Re: Another NEIL Query
- Posted by Mike Hurley <mike_hurley_2 at YAHOO.COM> Nov 29, 2000
- 455 views
> >> 1. How do I load a bitmap then extract individual > >> bitmaps from it? (For > > > >look up information on sub-screens > > I wouldn't have thought sub-screens was relevant, > but I guess that makes > sense, if by "sub-screen" you can mean a portion of > a virtual screen/bitmap > stored in memory. Thanks for the clue. NEIL has an actual object called a sub-screen. look it up in the docs. > >> 2. There's no rotate_bitmap() function, it seems. > >> How do I ROTATE a > >> graphic?! Even if I could just get the 2-d > sequence > >> using the handle, then > >> I could rotate that and replace it... > > > >couldn't tell you, sorry > >you could always hack it out of another library > that > >has it, I'm sure there's one. > > Yeah, I figure bitmap.e has a bm_rotate() function, > but the problem is you > have to feed it a 2-d sequence, and I don't know how > to retrieve the 2-d > graphic sequence stored by neil. i think that you have 2 options: 1) figure out how the info is stored in the screen structure and do it with ASM OR 2) this is rather slow... use get_pixel() (NEIL's) and read from the screen it is stored in and then do what you want with the new image > The "rle_handle" is an atom, as far as I can tell... > right? yes...it is a memory address > I guess since his "blur.ex" runs on my home PC fine, > then I should be able > to use rle_sprites... I'll investigate further. that's probably a good sign > Thanks!! > ck welcome. Mike Hurley ===== It compiled. The first screen came up. Ship it. --Bill Gates __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/