⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rubberbox.xplot.lib

📁 su 的源代码库
💻 LIB
字号:
RUBBERBOX -  Function to draw a rubberband box in X-windows plotsxRubberBox	Track pointer with rubberband boxFunction Prototype:void xRubberBox (Display *dpy, Window win, XEvent event,	int *x, int *y, int *width, int *height);Input:dpy		display pointerwin		window IDevent		event of type ButtonPressOutput:x		x of upper left hand corner of box in pixelsy		y of upper left hand corner of box in pixelswidth		width of box in pixelsheight		height of box in pixelsNotes:xRubberBox assumes that event is a ButtonPress event for the 1st button;i.e., it tracks motion of the pointer while the 1st button is down, andit sets x, y, w, and h and returns after a ButtonRelease event for the1st button.Before calling xRubberBox, both ButtonRelease and Button1Motion events must be enabled.This is the same rubberbox.c as in Xtcwp/lib, only difference isthat xRubberBox here is XtcwpRubberBox there, and a shift has beenadded to make the rubberbox more visible.Author:		Dave Hale, Colorado School of Mines, 01/27/90

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -