www.pudn.com > aa.rar > CPixelRGB32.cpp
//
// CPixelRGB32.cpp
//
#include "CBasePixel.h"
#include "CPixelRGB32.h"
//////////////////////////////////////////////////////////////////////
CPixelRGB32::CPixelRGB32()
{
}
CPixelRGB32::~CPixelRGB32()
{
}
void CPixelRGB32::ConvertByCover(unsigned char * inPixel)
{
if (inPixel)
{
*inPixel = m_TargetB;
inPixel++;
*inPixel = m_TargetG;
inPixel++;
*inPixel = m_TargetR;
inPixel++;
*inPixel = 0;
}
}