mirror of
https://github.com/google/pebble
synced 2026-10-14 15:44:12 +02:00
@@ -191,7 +191,7 @@ void graphics_private_draw_horizontal_line_prepared(GContext *ctx, GBitmap *fram
|
|||||||
|
|
||||||
void graphics_private_draw_horizontal_line_integral(GContext *ctx, GBitmap *framebuffer, int16_t y,
|
void graphics_private_draw_horizontal_line_integral(GContext *ctx, GBitmap *framebuffer, int16_t y,
|
||||||
int16_t x1, int16_t x2, GColor color) {
|
int16_t x1, int16_t x2, GColor color) {
|
||||||
// This is a wrapper for prv_draw_horizontal_line_raw for integral coordintaes
|
// This is a wrapper for prv_draw_horizontal_line_raw for integral coordinates
|
||||||
|
|
||||||
// End of the line is inclusive so we subtract one
|
// End of the line is inclusive so we subtract one
|
||||||
x2--;
|
x2--;
|
||||||
|
|||||||
Reference in New Issue
Block a user