Iets nauwkeuriger whitezone
svn path=/Slnkdwf/trunk/; revision=12529
This commit is contained in:
@@ -70,7 +70,6 @@ bool CQRCode::CreateCxImage(CxImage *img)
|
||||
{
|
||||
CQR_Encode* pQR_Encode = new CQR_Encode;
|
||||
|
||||
//m_bDataEncoded = pQR_Encode->EncodeData(nLevel, nVersion, bAutoExtent, nMaskingNo, strEncodeData);
|
||||
BOOL res = pQR_Encode->EncodeData(m_nLevel, m_nVersion,
|
||||
m_bAutoExtend, m_nMaskingNo,
|
||||
m_Text );
|
||||
@@ -85,7 +84,7 @@ bool CQRCode::CreateCxImage(CxImage *img)
|
||||
{
|
||||
if (pQR_Encode->m_byModuleData[i][j])
|
||||
{
|
||||
img->SetPixelColor((i + QR_MARGIN), (pQR_Encode->m_nSymbleSize-j + QR_MARGIN) , RGB(0, 0, 0));
|
||||
img->SetPixelColor(i + QR_MARGIN, pQR_Encode->m_nSymbleSize - j + QR_MARGIN - 1, RGB(0, 0, 0));
|
||||
}
|
||||
}
|
||||
img->Resample(m_nSize * img->GetWidth(), m_nSize * img->GetHeight());
|
||||
|
||||
Reference in New Issue
Block a user