?? invert.c
字號:
#include <stdlib.h>#include <libxml/parser.h>#include "config.h"#define MODULE_FILTER#include "module.h"#include "image.h"char *name = "invert";char *version = VERSION;intfilter(struct image *img, xmlNodePtr node, void **ctx){ unsigned char *p, *e; e = img->buf + img->bufsize; for (p = img->buf; p < e; p++) *p = '\xff' - *p; return 0;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -