📄 drrect.c
字号:
#include "nxlib.h"intXDrawRectangle(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height){ /* X11 width/height is one less than Nano-X width/height*/ GrRect(d, gc->gid, x, y, width+1, height+1); return 1;}intXDrawRectangles(Display *display, Drawable d, GC gc, XRectangle *rect, int nrect){ int i; for (i = 0; i < nrect; i++) { /* X11 width/height is one less than Nano-X width/height*/ GrRect(d, gc->gid, rect[i].x, rect[i].y, rect[i].width+1, rect[i].height+1); } return 1;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -