20040317-2.c

来自「用于进行gcc测试」· C语言 代码 · 共 26 行

C
26
字号
typedef struct _ScaleRec *ScaleWidget;typedef struct{  short *x;  unsigned short *width;} Table;typedef struct{  Table table;} ScalePart;typedef struct _ScaleRec{  ScalePart scale;} ScaleRec;static intFindPixel (ScaleWidget sw, short x, short y,       short * img_x, short * img_y, unsigned long * img_pixel){  if (sw->scale.table.x[(int) *img_x] +       (short) sw->scale.table.width[(int) *img_x] < x)    {      ++*img_x;      return FindPixel (sw, x, y, img_x, img_y, img_pixel);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?