fillrct.c
来自「用于nano-x的xlib」· C语言 代码 · 共 23 行
C
23 行
#include "nxlib.h"#include <stdio.h>intXFillRectangle(Display *xdpy, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height){ GrFillRect(d, gc->gid, x, y, width, height); return 1;}int XFillRectangles(Display *dpy, Drawable d, GC gc, XRectangle *rects, int nrects) { int i; for(i = 0; i < nrects; i++) XFillRectangle(dpy, d, gc, rects[i].x, rects[i].y, rects[i].width, rects[i].height); return 1;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?