|
@@ -223,7 +223,7 @@ class LCD(framebuf.FrameBuffer):
|
223
|
223
|
def arc(self, x_off, y_off, w, h, c,
|
224
|
224
|
start_angle, end_angle,
|
225
|
225
|
filled = True,
|
226
|
|
- num_segments = 128):
|
|
226
|
+ num_segments = 64):
|
227
|
227
|
start_segment = int(start_angle / 360 * num_segments)
|
228
|
228
|
end_segment = int(end_angle / 360 * num_segments)
|
229
|
229
|
|
|
@@ -241,7 +241,7 @@ class LCD(framebuf.FrameBuffer):
|
241
|
241
|
point_list.append(int(x))
|
242
|
242
|
point_list.append(int(y))
|
243
|
243
|
|
244
|
|
- self.poly(int(x_off), int(y_off), point_list, c, True)
|
|
244
|
+ self.poly(int(x_off), int(y_off), point_list, c, filled)
|
245
|
245
|
|
246
|
246
|
def pie(self, x0, y0, w, c_border, c_circle, v):
|
247
|
247
|
if v > 0.0:
|