?? axes.xtcwp.lib
字號:
AXES - the Axes WidgetXtcwpPointInAxesRectangle returns TRUE if point is inside axes rectangle, otherwise FALSEXtcwpSetAxesValues set axes valuesXtcwpSetAxesPads set axes padsFunction Prototype:Boolean XtcwpPointInAxesRectangle (Widget w, Position x, Position y);void XtcwpSetAxesValues (Widget w, float x1beg, float x1end, float x2beg, float x2end);void XtcwpSetAxesPads (Widget w, float p1beg, float p1end, float p2beg, float p2end);XtcwpPointInAxesRectangle:Input:w axes widgetx x coordinate of pointy y coordinate of pointXtcwpSetAxesValues:Input:w axes widgetx1beg axis value at beginning of axis 1x1end axis value at end of axis 1x2beg axis value at beginning of axis 2x2end axis value at end of axis 2XtcwpSetAxesPads:Input:w axes widgetp1beg axis pad at beginning of axis 1p1end axis pad at end of axis 1p2beg axis pad at beginning of axis 2p2end axis pad at end of axis 2Notes:XtcwpPointInAxesRectangle:This function is useful for determining whether or not input eventsoccured with the pointer inside the axes rectangle. I.e., the inputcallback function will typically call this function.XtcwpSetAxesPads:Pad values must be specified in the same units as the corresponding axes values. These pads are useful when the contents of the axes boxrequire more space than implied by the axes values. For example, thefirst and last seismic wiggle traces plotted inside an axes boxwill typically extend beyond the axes values corresponding to thefirst and last traces. However, all tics will lie within the limitsspecified in the axes values (x1beg, x1end, x2beg, and x2end).Author: Dave Hale, Colorado School of Mines, 08/28/90Modified: Craig Artley, Colorado School of Mines, 06/03/93, Rotate label for vertical axis (Courtesy Dave Hale, Advance Geophysical).
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -