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

正文內(nèi)容

簡單畫圖程序的設(shè)計-資料下載頁

2025-06-04 10:45本頁面
  

【正文】 rs void 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() { 23 // 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。 24 (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))。 25 (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) 26 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。 27 |=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))。 }
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1