From 27a779b2357fb27ae834e8921323f09fd3288940 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 18 Oct 2023 15:00:37 +0200 Subject: Fix trailing whitespace --- src/Fl_Graphics_Driver.cxx | 8 ++++---- src/fl_draw.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 9b230fc00..4ef37e33f 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -948,28 +948,28 @@ void Fl_Scalable_Graphics_Driver::draw_circle(int x0, int y0, int d, Fl_Color c) // make circles nice on scaled display float s = scale(); int scaled_d = (s > 1.0) ? (int)(d * s) : d; - + // draw the circle switch (scaled_d) { // Larger circles draw fine... default: pie(x0, y0, d, d, 0.0, 360.0); break; - + // Small circles don't draw well on many systems... case 6: rectf(x0 + 2, y0, d - 4, d); rectf(x0 + 1, y0 + 1, d - 2, d - 2); rectf(x0, y0 + 2, d, d - 4); break; - + case 5: case 4: case 3: rectf(x0 + 1, y0, d - 2, d); rectf(x0, y0 + 1, d, d - 2); break; - + case 2: case 1: rectf(x0, y0, d, d); diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 9974c8217..bfd1c67fd 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -595,7 +595,7 @@ void fl_draw_check(Fl_Rect bb, Fl_Color col) { Draw a potentially small, filled circle using a given color. This function draws using \p color a filled circle bounded by rectangle (x, y, d, d). - + This function is the same as fl_pie(x, y, d, d, 0, 360) except with some systems that don't draw small circles well. In that situation, the circle diameter \p d is converted from FLTK units to pixels and this function approximates a filled circle by drawing several -- cgit v1.2.3