U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » from window to image
from window to image [message #9135] Wed, 18 April 2007 16:45 Go to previous message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
I love the way in which all images in UPP are arrays or arrays of 32 bit values - makes things very simple. However, it seems odd that there is no way to sample the screen either one pixel at a time or in a block defined by a Rect. There must surely be a way to know what colour pixel is at a specific point on a window. Win32 allows one to blit between device contexts as easily as blitting between bitmaps as well as between DCs and bitmaps. Is there not some equivalent functionality in UPP?

This question arises out of another thread in this forum but appears to me to be more general and crucial for anyone wanting to be able to animate without redrawing the entire window in between each frame or action.

It applies to more than just drag and drop.

Nick

 
Read Message
Read Message
Previous Topic: DrawImage with XOR undefined
Next Topic: PNG to IML?
Goto Forum:
  


Current Time: Fri Oct 02 18:06:20 GMT+2 2026

Total time taken to generate the page: 0.00665 seconds