comparison src/cs/drivers/drv_app/r2d/lcds/PC_DSAMPLE/r2d_window_shape.c @ 0:945cf7f506b2

src/cs: chipsetsw import from tcs211-fcmodem binary blobs and LCD demo files have been excluded, all line endings are LF only
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 22:50:11 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:945cf7f506b2
1 #ifdef _WINDOWS
2
3 #include "r2d/r2d_config.h"
4
5 typedef struct P
6 {
7 long x;
8 long y;
9 } POINT;
10
11 // bezier curve for phone shape (R2D_PC_CONTOUR_POINTS) points
12 const POINT r2d_phone_shape[R2D_PC_CONTOUR_POINTS]=
13 {
14 {150,17},
15 {133,17},
16 {116,18},
17 {101,20},
18 {90,23},
19 {82,26},
20 {75,32},
21 {68,39},
22 {61,49},
23 {55,57},
24 {50,66},
25 {46,76},
26 {43,85},
27 {39,97},
28 {36,106},
29 {33,117},
30 {31,127},
31 {28,132},
32 {23,135},
33 {22,140},
34 {22,146},
35 {24,151},
36 {23,158},
37 {20,162},
38 {17,167},
39 {17,173},
40 {18,178},
41 {20,186},
42 {19,197},
43 {19,206},
44 {18,220},
45 {17,234},
46 {16,247},
47 {16,259},
48 {16,272},
49 {16,284},
50 {17,296},
51 {18,308},
52 {18,321},
53 {19,336},
54 {20,350},
55 {21,366},
56 {23,382},
57 {25,400},
58 {27,414},
59 {29,426},
60 {31,436},
61 {33,446},
62 {34,458},
63 {36,470},
64 {39,484},
65 {42,502},
66 {46,516},
67 {51,533},
68 {53,545},
69 {57,555},
70 {61,562},
71 {67,570},
72 {78,577},
73 {91,582},
74 {107,587},
75 {122,590},
76 {144,591},
77 {160,590},
78 {176,588},
79 {192,585},
80 {206,580},
81 {219,572},
82 {230,561},
83 {236,545},
84 {241,532},
85 {245,517},
86 {248,502},
87 {253,483},
88 {256,468},
89 {260,454},
90 {264,439},
91 {267,425},
92 {270,409},
93 {273,392},
94 {277,368},
95 {280,345},
96 {283,321},
97 {284,299},
98 {286,277},
99 {287,251},
100 {287,227},
101 {285,199},
102 {283,179},
103 {282,163},
104 {281,152},
105 {284,146},
106 {284,139},
107 {282,134},
108 {278,130},
109 {276,121},
110 {271,108},
111 {267,95},
112 {263,82},
113 {259,70},
114 {254,59},
115 {249,49},
116 {242,41},
117 {233,35},
118 {225,29},
119 {215,24},
120 {203,20},
121 {191,19},
122 {179,17},
123 {166,18},
124 };
125
126 #endif
127