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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -