软件研发
电子白板、钢笔笔锋、笔锋、c笔锋 标签描述

include"StdAfx.h"include"MyBrush.h"include<math.h> CMyBrush::CMyBrush(intnLength){ASSERT(nLength>=5&&nLength<200); m_nLength=nLength|1;//确保长度为奇数 m_nMid=m_nLength/2; m_pBuf=newBYTE[m_nLengthm_nLength]; memset(m_pBuf,0,m_nLengthm_nLength); for(inti=0;i<256;i) { for(intj=0;j&l...