DRAW_WID_CORR Name
DRAW_WID_CORR Purpose
Get draw widget scroll size correction.
Category
Calling Sequence
draw_wid_corr, x, y, xc, yc Inputs
x,y = desired x and y scroll size. in
Keyword Parameters
Outputs
xc,yc = Needed correction to get those sizes. out
In the call to widget_draw use:
x_scroll=x-xc and y_scroll=y-yc to get x and y.
Common Blocks
Notes
Note: The x and y scroll sizes requested for a draw widget
may not the actual values of the realized widget. This
routine tries to determine the difference to allow
compensation. The coorections still do not give an exact
result, they seem a bit small.
Modification History
R. Sterner, 2002 Nov 04
Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.