?? graphic.h
字號:
/* * $Id: graphic.h,v 1.2 1999/11/12 13:03:26 till Exp $ * * serverside graphics * * Copyright (C) 1999 Till Krech <till@snafu.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * */#ifndef GRAPHIC_H#define GRAPHIC_H#include "pixy.h"typedef struct { unsigned short height; UNIT data[0];} Pattern;extern void do_drawPixel(int x, int y, int color, GraphicsContext *gc);extern void do_drawLine(int x1, int y1, int x2, int y2, GraphicsContext *gc);extern void do_drawEllipse(int x, int y, int a, int b, GraphicsContext *gc);extern void do_drawRect(int x1, int y1, int x2, int y2, GraphicsContext *gc);extern void do_fillRect(int x1, int y1, int x2, int y2, GraphicsContext *gc);extern void bitblt( short src_x, short src_y, short w, short h, short dest_x, short dest_y, UNIT *src, short src_units_per_line, UNIT *dest, short dest_units_per_line, GraphicsContext *gc);extern void patternfill( short dest_x, short dest_y, short w, short h, UNIT *dest, short dest_units_per_line, GraphicsContext *gc);extern void do_drawChar(int x, int y, int c, GraphicsContext *gc);extern void do_drawString(int x, int y, int len, char *data, GraphicsContext *gc);#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -