spedas/gui/display/draw_object/
spd_ui_draw_object__getrubberbandpos.pro
Routines
top source spd_ui_draw_object::GetrubberBandPos
result = spd_ui_draw_object::GetrubberBandPos(xonly=xonly)
spd_ui_draw_object method: GetRubberBandPos Returns an array of structs that indicate the panels overlapped by the rubber band Input: xonly: If set, constrain along the x-axis only. Output: structs have the form {idx:0,xrange:[0,1],yrange[0,1],vars:ptr_new()} idx is the panel index in the current display, this is an index into the list of panels displayed, not the ID field from the spd_ui_panel object xrange is the xrange of the panel in non-logarithmic(normal) space yrange is the yrange of the panel in non-logarithmic(normal) space vars is either a null pointer or an array of structs of the form: {range:[0,1]} which stores the range of each variable on the panel returns 0 on fail Notes: No inputs, uses the information in self.panelInfo, self.rubberStart, self.cursorLoc(considered rubber band stop position $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/display/draw_object/spd_ui_draw_object__getrubberbandpos.pro $
Keywords
- xonly
File attributes
Modification date: | Thu Feb 13 16:41:36 2014 |
Lines: | 78 |