绘制3d字体

3D 字体
m_cr3DHiliteColor  = RGB(255,255,255);
pDCMem->SetTextColor(m_cr3DHiliteColor);
if (m_3dType == Raised)
            rc.OffsetRect(-1,-1);
else       //type is Sunken
            rc.OffsetRect(1,1);
 
pDCMem->DrawText(strText,rc,dwFlags);
 
pDCMem->SetTextColor(m_crText);
pDCMem->DrawText(strText,rcText,dwFlags);
 

你可能感兴趣的:(绘制3d字体)