c++ - GetPixel in GDI -


using getpixel, right retrieve pixel information hdc temporarily store after draw on each wm_paint call?

it x,y pixel value of whatever bitmap selected within hdc.

http://msdn.microsoft.com/en-us/library/dd144909%28vs.85%29.aspx

getpixel quite slow, if recall correctly. depending on want do, lot faster access raw bitmap data directly.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -