Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: intro Download
 Description: #include <iostream> #include math.h #define TRUE 1 using namespace std class DDA { public: void DDALine(int x0,int y0,int x1,int y1,COLORREF color, CDC *pDC) { float dx, dy, length, x, y if(abs(x1-x0) >= abs(y1-y0)) length = abs(x1-x0) else length = abs(y1-y0) dx = (x1-x0)/length dy = (y1-y0)/length int i = 1 x = x0 y = y0 while(i<=length) { pDC->SetPixel((int)(x+0.5),(int)(y+0.5),color) x = x+ dx y = y+ dy i++ } } }
 Downloaders recently: [More information of uploader divanci]
 To Search:
File list (Check if you may need any files):
 

SPT7590-297X594 1-80.jpg
SPT7590-297X594 2-3.jpg
SPT7590-297X594 16-17.jpg
16-17.txt
    

CodeBus www.codebus.net