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  |
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
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:18:26 CEST 2025
Total time taken to generate the page: 0.02443 seconds
|