display.h
来自「几个应用程序的C语言源代码」· C头文件 代码 · 共 23 行
H
23 行
/* DISPLAY.H : declarations for functions to support graphic screen
display of voice patterns.
Bruce Eckel, Revolution2 Real-Time Consulting.
*/
#include <graphics.h> /* The Turbo C BGI header file */
/* "printf"-like function for printing messages while
using the BGI in graphics mode. */
void gprintf(char * format, ...);
/* Display the graphics "viewport" values (for debugging) */
void display_viewsettings(struct viewporttype view);
/* Types of scaling for display_series: */
typedef enum { quarter, half, full, twice, quad } scale_factor;
/* Display a series of numbers as dots on the screen: */
void display_series(unsigned * series, int series_size,
int offset,
scale_factor vertical_scale_factor,
scale_factor horizontal_scale_factor,
int color);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?