>_<:first build some points put in poly1[],poly2[] and poly3[] in the function of InitInstance(...)

>_<:then in the function MyDraw() use  PolylineTo(...)\Polyline(...)\Polygon(...) draw diferent line and use PolyBezierTo(...)\PolyBezier(...) draw two kind curve  separately.

>_<:finally show the different among these functions.

>_<!there I don't use message to draw, instread I put the MyDraw() in the last of InitInstance(...) function. 

[游戏模版5] Win32 折线 弧线  [游戏模版5] Win32 折线 弧线  [游戏模版5] Win32 折线 弧线 

[游戏模版5] Win32 折线 弧线  [游戏模版5] Win32 折线 弧线

 1 //{{NO_DEPENDENCIES}}
 2 // Microsoft Visual C++ generated include file.
 3 // Used by FE.RC
 4 //
 5 #define IDR_MAINFRAME                    128
 6 #define IDD_FE_DIALOG        102
 7 #define IDD_ABOUTBOX                    103
 8 #define IDS_APP_TITLE                    103
 9 #define IDM_ABOUT                        104
10 #define IDM_EXIT                        105
11 #define IDS_HELLO                        106
12 #define IDI_FE                107
13 #define IDI_SMALL                        108
14 #define IDC_FE                109
15 #define IDC_MYICON                        2
16 #define IDC_STATIC                        -1
17 // Next default values for new objects
18 //
19 #ifdef APSTUDIO_INVOKED
20 #ifndef APSTUDIO_READONLY_SYMBOLS
21 
22 #define _APS_NEXT_RESOURCE_VALUE        129
23 #define _APS_NEXT_COMMAND_VALUE         32771
24 #define _APS_NEXT_CONTROL_VALUE         1000
25 #define _APS_NEXT_SYMED_VALUE           110
26 #endif
27 #endif
reourse.h

相关文章:

  • 2022-02-12
  • 2021-12-05
  • 2021-04-17
  • 2021-04-28
  • 2021-06-20
猜你喜欢
  • 2021-11-20
  • 2022-01-09
  • 2021-06-20
  • 2021-11-14
  • 2021-09-13
  • 2022-02-16
相关资源
相似解决方案