Home > Software engineering >  Vc 6.0 to seek to find the source code of color
Vc 6.0 to seek to find the source code of color

Time:09-21

Want to make a small tool to find color,,,

CodePudding user response:

A search for "colortake"

CodePudding user response:

With the desert plug-in, download a lot of,

CodePudding user response:

COLORREF GetPixel (
HDC HDC,//handle to the device context
Int XPos,//x - coordinate of pixel
Int nYPos//y - coordinate of pixel
);

Take each point of color, and then determine whether you need,,,,,,,, the definition of the key is, you need to have a clear -- -- -- -- -- what do you want to "color"

CodePudding user response:

Is this " "?

CodePudding user response:

 CClientDC dc (NULL); 
COLORREF col.

Col=dc. GetPixel (pt);
Col==0 x000064


I recently found that the CDC has so simple a member function, get some point of the pixel, to write a good helper of auxiliary

CodePudding user response:

Contour as the basic criterion, should be the human body, and intelligence quotient algorithm is only reference!!!!!!
  • Related