Renamed thick_line

feature/badger2040w
ZodiusInfuser 2023-02-16 10:28:07 +00:00
rodzic 2bdb05ce68
commit 5a62a79a93
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -170,7 +170,7 @@ namespace pimoroni {
}, t, p.x, p.y, s, a);
} else {
hershey::text(hershey_font, [this](int32_t x1, int32_t y1, int32_t x2, int32_t y2) {
thicc_line(Point(x1, y1), Point(x2, y2), thickness);
thick_line(Point(x1, y1), Point(x2, y2), thickness);
}, t, p.x, p.y, s, a);
}
return;
@ -298,7 +298,7 @@ namespace pimoroni {
}
}
void PicoGraphics::thicc_line(Point p1, Point p2, uint thickness) {
void PicoGraphics::thick_line(Point p1, Point p2, uint thickness) {
// general purpose line
// lines are either "shallow" or "steep" based on whether the x delta
// is greater than the y delta

Wyświetl plik

@ -266,7 +266,7 @@ namespace pimoroni {
void triangle(Point p1, Point p2, Point p3);
void line(Point p1, Point p2);
void from_hsv(float h, float s, float v, uint8_t &r, uint8_t &g, uint8_t &b);
void thicc_line(Point p1, Point p2, uint thickness);
void thick_line(Point p1, Point p2, uint thickness);
protected:
void frame_convert_rgb565(conversion_callback_func callback, next_pixel_func get_next_pixel);