freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于vcmfc程序設(shè)計(jì)——簡(jiǎn)易畫圖板-資料下載頁(yè)

2025-08-10 14:52本頁(yè)面
  

【正文】 S(CGraphicDoc)))。 return (CGraphicDoc*)m_pDocument。}endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CGraphicView message handlersvoid CGraphicView::OnDot() { // TODO: Add your mand handler code here m_nDrawType=1。}void CGraphicView::OnLine() { // TODO: Add your mand handler code here m_nDrawType=2。}void CGraphicView::OnRectangle() { // TODO: Add your mand handler code here m_nDrawType=3。}void CGraphicView::OnEllipse() { // TODO: Add your mand handler code here m_nDrawType=4。}void CGraphicView::OnShanxing() { // TODO: Add your mand handler code here m_nDrawType=5。}void CGraphicView::OnLianxuxian() { // TODO: Add your mand handler code here m_nDrawType=6。}void CGraphicView::OnJdhs() { // TODO: Add your mand handler code here m_nDrawType=7。}void CGraphicView::OnWths() { // TODO: Add your mand handler code here m_nDrawType=8。}void CGraphicView::OnTmhs() { // TODO: Add your mand handler code here m_nDrawType=9。}void CGraphicView::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default m_ptOrigin=point。 m_bDraw=true。 m_ptOld=point。 CView::OnLButtonDown(nFlags, point)。}void CGraphicView::OnLButtonUp(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default m_bDraw=false。 CClientDC dc(this)。 CPen pen(m_nLineStyle,m_nLineWidth,m_clr)。 (amp。pen)。 (amp。pen)。 CBrush *pBrush=CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH))。 (pBrush)。 (pBrush)。 CBrush brush (m_clr)。 CBitmap bitmap。 (IDB_BITMAP1)。 CBrush brush1 (amp。bitmap)。 switch (m_nDrawType) { case 1: (point,m_clr)。 (point,m_clr)。 break。 case 2: (m_ptOrigin)。 (point)。 (m_ptOrigin)。 (point)。 break。 case 3: (CRect(m_ptOrigin,point))。 (CRect(m_ptOrigin,point))。 break。 case 4: (CRect(m_ptOrigin,point))。 (CRect(m_ptOrigin,point))。 break。 case 7: (CRect(m_ptOrigin,point),amp。brush)。 (CRect(m_ptOrigin,point),amp。brush)。 break。 case 8: (CRect(m_ptOrigin,point),amp。brush1)。 (CRect(m_ptOrigin,point),amp。brush1)。 break。 case 9: CBrush *pBrush =CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH))。 CBrush *pOldBrush=(pBrush)。 (CRect(m_ptOrigin,point))。 (CRect(m_ptOrigin,point))。 (pOldBrush)。 (pOldBrush)。 break。 } OnPrepareDC(amp。dc)。 (amp。m_ptOrigin)。 (amp。point)。 CView::OnLButtonUp(nFlags, point)。}void CGraphicView::OnMouseMove(UINT nFlags, CPoint point) {// TODO: Add your message handler code here and/or call default switch (m_nDrawType) case 5: { CClientDC dc(this)。 CPen pen (m_nLineStyle, m_nLineWidth, m_clr)。 CPen *pOldpen=(amp。pen)。 if(m_bDraw==true) { (m_ptOrigin)。 (m_ptOrigin)。 (m_ptOld)。 (m_ptOld)。 (m_ptOld)。 (m_ptOld)。 m_ptOld=point。 } (pOldpen)。 (pOldpen)。 CView::OnMouseMove(nFlags, point)。 } switch (m_nDrawType) case 6: { CClientDC dc(this)。 CPen pen (m_nLineStyle, m_nLineWidth, m_clr)。 CPen *pOldpen=(amp。pen)。 if(m_bDraw==true) { (m_ptOrigin)。 (m_ptOrigin)。 (point)。 (point)。 m_ptOrigin=point。 } (pOldpen)。 (pOldpen)。 CView::OnMouseMove(nFlags, point)。 }}void CGraphicView::OnSetting() { //TODO: Add your mand handler code here CSettingDlg dlg。 =m_nLineWidth。 =m_nLineStyle。 if(IDOK==()) { m_nLineWidth=。 m_nLineStyle=。 }}void CGraphicView::OnColor() { // TODO: Add your mand handler code here CColorDialog dlg。 |=CC_RGBINIT | CC_FULLOPEN。 =m_clr。 if(IDOK==()) { m_clr=。 }}void CGraphicView::OnFileOpen() { // TODO: Add your mand handler code here HMETAFILE hmetaFile。 hmetaFile=GetMetaFile()。 (hmetaFile)。 DeleteMetaFile(hmetaFile)。 Invalidate()。}void CGraphicView::OnFileSave() { // TODO: Add your mand handler code here HMETAFILE hmetaFile。 hmetaFile=()。 CopyMetaFile(hmetaFile,)。 ()。 DeleteMetaFile(hmetaFile)。}void CGraphicView::OnInitialUpdate() { CView::OnInitialUpdate()。 // TODO: Add your specialized code here and/or call the base class SetScrollSizes(MM_TEXT,CSize(800,600))。}致謝在此學(xué)年設(shè)計(jì)過(guò)程中,筆者由衷感謝指導(dǎo)教師張書源老師,在他耐心地指導(dǎo)下我們順利完成學(xué)年設(shè)計(jì)。在此設(shè)計(jì)過(guò)程中筆者也很感謝該設(shè)計(jì)小組其他同學(xué)的支持與幫組。31
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1