|
168 | 168 | " 'non_stroking_color': 1,\n",
|
169 | 169 | " 'object_type': 'curve',\n",
|
170 | 170 | " 'page_number': 1,\n",
|
171 |
| - " 'points': [(585.31, 139.44),\n", |
172 |
| - " (588.48, 143.16000000000003),\n", |
173 |
| - " (591.72, 143.88),\n", |
174 |
| - " (594.84, 149.69),\n", |
175 |
| - " (598.08, 145.2),\n", |
176 |
| - " (601.32, 139.13),\n", |
177 |
| - " (604.44, 141.12),\n", |
178 |
| - " (607.67, 142.56)],\n", |
179 | 171 | " 'top': 139.13,\n",
|
180 | 172 | " 'bottom': 149.69,\n",
|
181 | 173 | " 'doctop': 139.13}"
|
|
263 | 255 | "colors = [ \"red\", \"blue\", \"green\" ]\n",
|
264 | 256 | "for i, curve in enumerate(report.curves):\n",
|
265 | 257 | " stroke = colors[i%len(colors)]\n",
|
266 |
| - " im.draw_circles(curve[\"points\"], radius=3, stroke=stroke, fill=\"white\")\n", |
267 |
| - " im.draw_line(curve[\"points\"], stroke=stroke, stroke_width=2)\n", |
| 258 | + " im.draw_circles(curve[\"pts\"], radius=3, stroke=stroke, fill=\"white\")\n", |
| 259 | + " im.draw_line(curve[\"pts\"], stroke=stroke, stroke_width=2)\n", |
268 | 260 | "im"
|
269 | 261 | ]
|
270 | 262 | },
|
|
0 commit comments