diff --git a/samples/clock.cpp b/samples/clock.cpp index ca4abf48680ab4c04697b6a7f4af95aa3a116f1b..ca87d12cef2ead247d47ba8252b516f360c5db74 100644 --- a/samples/clock.cpp +++ b/samples/clock.cpp @@ -40,7 +40,7 @@ constexpr int HOUR_HAND_LEN = 80; // 时针长度 constexpr int NOT_HOUR_HAND_LEN = 120; // 秒针、分针长度 constexpr int HOUR_HAND_STROKE_WIDTH = 3; // 时针的宽度 constexpr int NOT_HOUR_HAND_STROKE_WIDTH = 2; // 秒针和分钟的宽度 -constexpr int CLOCK_DOT_RADIUS = 5; // 中心原点的半径大小 +constexpr int CLOCK_DOT_RADIUS = 5; // 中心圆点的半径大小 constexpr int CLOCK_DAIL_RADIUS = 180; // 表盘半径大小 constexpr float CLOCK_FONT_SIZE = 24.0f; // 表盘上文字字体大小 constexpr int CLOCK_FONT_STROKE_WIDTH = 2; //表盘文字字体笔画粗细