microsoftxiao

记忆 流逝

导航

2006年10月3日 #

画圆GDI

摘要: int x = 200;int y = 200;int L = 50; int DrawEllipse(int x,int y,int width,int height){ Arc(hdc,x,y,x+width,y+height,x/2,y,x/2,y); return 0;} //LineTo(hdc,1024,690) - 屏幕宽高int Render(){ x = rand()%... 阅读全文

posted @ 2006-10-03 20:05 龙巢NET刀 阅读(666) 评论(2) 推荐(0)

疯狂画线GDI

摘要: HPEN hPen = NULL;HBRUSH hBrh = NULL; HDC hdc = NULL;RECT rect;int i = 0;//初始化画笔画刷等int InitGDI(){ hdc = GetDC(hWnd); hPen = CreatePen(PS_SOLID,2,RGB(255,0,0)); SelectObject(hdc,hPen); GetWindowRect... 阅读全文

posted @ 2006-10-03 14:39 龙巢NET刀 阅读(706) 评论(0) 推荐(0)