谁能解释下列c++中时钟的宏的含义#define ANALOG_CENTER_X (227)#define ANALOG_CENTER_Y (178)#define ANALOG_R (150)#define ANALOG_CENTER_R (10)#define ANALOG_HOUR_LEN (ANALOG_R-80)#define ANALOG_MINUTE_LEN (ANALOG_R-50)#define ANALOG_SECOND
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 13:20:59
谁能解释下列c++中时钟的宏的含义#define ANALOG_CENTER_X (227)#define ANALOG_CENTER_Y (178)#define ANALOG_R (150)#define ANALOG_CENTER_R (10)#define ANALOG_HOUR_LEN (ANALOG_R-80)#define ANALOG_MINUTE_LEN (ANALOG_R-50)#define ANALOG_SECOND
谁能解释下列c++中时钟的宏的含义
#define ANALOG_CENTER_X (227)
#define ANALOG_CENTER_Y (178)
#define ANALOG_R (150)
#define ANALOG_CENTER_R (10)
#define ANALOG_HOUR_LEN (ANALOG_R-80)
#define ANALOG_MINUTE_LEN (ANALOG_R-50)
#define ANALOG_SECOND_LEN (ANALOG_R-30)
谁能解释下列c++中时钟的宏的含义#define ANALOG_CENTER_X (227)#define ANALOG_CENTER_Y (178)#define ANALOG_R (150)#define ANALOG_CENTER_R (10)#define ANALOG_HOUR_LEN (ANALOG_R-80)#define ANALOG_MINUTE_LEN (ANALOG_R-50)#define ANALOG_SECOND
#define ANALOG_CENTER_X (227) //时钟显示的中心位置的横坐标 227
#define ANALOG_CENTER_Y (178) //时钟显示的中心位置的纵坐标 178
#define ANALOG_R (150) //时钟显示图的半径 150
#define ANALOG_CENTER_R (10) //时钟显示中心图形的半径 10
#define ANALOG_HOUR_LEN (ANALOG_R-80) //时针长短(半径)70
#define ANALOG_MINUTE_LEN (ANALOG_R-50) //分针长短(半径)100
#define ANALOG_SECOND_LEN (ANALOG_R-30) //秒针长短(半径)120