![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
windows下程序设计举例程序
文章平均质量分 71
xuefey
这个作者很懒,什么都没留下…
展开
-
BEZIER程序
void DrawBezier(HDC hdc,POINT apt[]){ PolyBezier(hdc,apt,4); MoveToEx(hdc,apt[0].x,apt[0].y,NULL); LineTo(hdc,apt[1].x,apt[1].y); MoveToEx(hdc,apt[2].x,apt[2].y,NULL); LineTo(hdc,apt[3].x,ap原创 2009-12-07 13:09:00 · 376 阅读 · 0 评论 -
TYPER程序
#define BUFFER(x,y) *(pBuffer+y*cxBuffer+x)LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ int wmId, wmEvent,x,y,i; static DWORD dwCharSet=DEFAULT_CHARSET;原创 2009-12-06 18:17:00 · 570 阅读 · 2 评论 -
ALTWIND程序
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ int wmId, wmEvent,i; static int cxClient,cyClient; PAINTSTRUCT ps; HDC hdc; POINT apt[10]; static POINT a原创 2009-12-06 18:35:00 · 262 阅读 · 0 评论 -
LINEDEMO程序
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ static cxClient,cyClient; int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; switch (message) { case WM原创 2009-12-07 13:12:00 · 372 阅读 · 0 评论 -
CONNECT程序
#define MAX_POINTS 1000LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam){ int wmId, wmEvent,i,j; PAINTSTRUCT ps; HDC hdc; static POINT pt[MAX_POINTS]; sta原创 2009-12-08 11:06:00 · 347 阅读 · 0 评论