1. Win32lib:a match for drwabitmap: getBitmap
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Mar 07, 2000
- 579 views
I use drawbitmap and was wondering if there is a match for it, To get a bitmap from the screen, There is getpixel/setpixel, I looked in win32lib.htm but was unable to find anything that looks like it is what i am after... I dont want to use keep using sequence save_bitmap for a = 0 to 47 for b = 0 to 47 save_bitmap[a][b] = gexpixel(GW,ship[x+a][y+y]) end for end for J Reeves Grape Vine ICQ# 13728824 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
2. Re: Win32lib:a match for drwabitmap: getBitmap
- Posted by Brian Broker <bkb at CNW.COM> Mar 07, 2000
- 535 views
On Tue, 7 Mar 2000 11:20:30 PST, Grape_ Vine_ wrote: >I use drawbitmap and was wondering if there is a match for it, To get a >bitmap from the screen, There is getpixel/setpixel, I looked in win32lib.htm >but was unable to find anything that looks like it is what i am after... Try using 'copyBlt' and work with pixmaps instead of bitmaps. The three blitting functions in Win32Lib are 'bitBlt', 'copyBlt' (a simplified version of bitBlt), and 'transBlt' (an expensive operation). -- Brian
3. Re: Win32lib:a match for drwabitmap: getBitmap
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Mar 07, 2000
- 568 views
"Grape Vine" wrote: > I use drawbitmap and was wondering > if there is a match for it, To get a > bitmap from the screen... Either bitBlt or copyBlt will copy the screen. Use Screen as the source parameter. -- David Cuny
4. Re: Win32lib:a match for drwabitmap: getBitmap
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Mar 07, 2000
- 567 views
I tried that once, I got all messed up in it, It kep saving to the wrong place or was off by a few pixel, All were because the way i had the rest of the code, guess ill try it again, Think i will start from scratch this time.... J Reeves Grape Vine ICQ# 13728824 >From: Brian Broker <bkb at CNW.COM> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: Re: Win32lib:a match for drwabitmap: getBitmap >Date: Tue, 7 Mar 2000 13:20:36 -0500 > >On Tue, 7 Mar 2000 11:20:30 PST, Grape_ Vine_ wrote: > > >I use drawbitmap and was wondering if there is a match for it, To get a > >bitmap from the screen, There is getpixel/setpixel, I looked in >win32lib.htm > >but was unable to find anything that looks like it is what i am after... > >Try using 'copyBlt' and work with pixmaps instead of bitmaps. The three >blitting functions in Win32Lib are 'bitBlt', 'copyBlt' (a simplified >version of bitBlt), and 'transBlt' (an expensive operation). > >-- Brian ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com