Skip to content

Commit 5a62a79

Browse files
committed
Renamed thick_line
1 parent 2bdb05c commit 5a62a79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/pico_graphics/pico_graphics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ namespace pimoroni {
170170
}, t, p.x, p.y, s, a);
171171
} else {
172172
hershey::text(hershey_font, [this](int32_t x1, int32_t y1, int32_t x2, int32_t y2) {
173-
thicc_line(Point(x1, y1), Point(x2, y2), thickness);
173+
thick_line(Point(x1, y1), Point(x2, y2), thickness);
174174
}, t, p.x, p.y, s, a);
175175
}
176176
return;
@@ -298,7 +298,7 @@ namespace pimoroni {
298298
}
299299
}
300300

301-
void PicoGraphics::thicc_line(Point p1, Point p2, uint thickness) {
301+
void PicoGraphics::thick_line(Point p1, Point p2, uint thickness) {
302302
// general purpose line
303303
// lines are either "shallow" or "steep" based on whether the x delta
304304
// is greater than the y delta

libraries/pico_graphics/pico_graphics.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ namespace pimoroni {
266266
void triangle(Point p1, Point p2, Point p3);
267267
void line(Point p1, Point p2);
268268
void from_hsv(float h, float s, float v, uint8_t &r, uint8_t &g, uint8_t &b);
269-
void thicc_line(Point p1, Point p2, uint thickness);
269+
void thick_line(Point p1, Point p2, uint thickness);
270270

271271
protected:
272272
void frame_convert_rgb565(conversion_callback_func callback, next_pixel_func get_next_pixel);

0 commit comments

Comments
 (0)