image.xplot.lib
来自「su 的源代码库」· LIB 代码 · 共 21 行
LIB
21 行
IMAGE - Function for making the image in an X-windows image plotxNewImage make a new image of pixels from bytesFunction Prototype:XImage *xNewImage (Display *dpy, unsigned long pmin, unsigned long pmax, int width, int height, float blank, unsigned char *bytes);Input:dpy display pointerpmin minimum pixel value (corresponding to byte=0)pmax maximum pixel value (corresponding to byte=255)width number of bytes in x dimensionheight number of bytes in y dimensionblank portion for blanking (0 to 1)bytes unsigned bytes to be mapped to an imageAuthor: Dave Hale, Colorado School of Mines, 06/08/90Revision: Brian Zook, Southwest Research Institute, 6/27/96 added blank option This allows replacing the low end by the background.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?