Re: xor pixel
- Posted by mjronline <mjronline at IT-WORKS.COM> Jan 05, 1998
- 629 views
Michael Packard wrote: > > On Wed, 7 Jan 1998, BABOR, JIRI wrote: > > > Can someone give me a really fast xor pixel? Thanks Jiri > > > here's one: . > > Michael Just one pixel? How about a whole bitmap piece? include graphics.e include image.e sequence sima --sima stores the save_image <snip> --*************Start here *********************** gr=graphics_mode(257) --800x600x256 color SVGA <snip> --***put an ellipse desgin on screen*** <snip> --***now I will cut a portion of the screen*** --***and then re-paste with bitwise operations*** sima=save_image({60,70},{140,140}) gx=wait_key() sima=xor_bits(sima,1) display_image({150,200},sima) gx=wait_key() sima=xor_bits(sima,1) display_image({200,250},sima) gx=wait_key() -- // !NEW! Http://www.geocities.com/SiliconValley/Lab/7577 /////////// // Michael J. Raley's Modular reality Journal // ///////////////////////////////////////////////////////////////////