Blob Blame History Raw
# $XConsortium: RIArrowBtn3.prt /main/3 1995/07/19 20:27:27 drk $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
#
#
# HISTORY
Setting the unit type to inches and size to (2000, 1000).
Setting the unit type to inches
width = 1998,   height = 999

TRACE:(1) CompareVisual arrow 
TRACE:(2) Continue
Expected	Returned	
1000  1500	999  1498
2000  3000	1998  2997
3000  4500	2997  4496
4000  6000	3996  5995

TRACE:(3) CompareVisual arrow 
TRACE:(4) Continue
Setting the unit type to millimeters
Expected	Returned	
1000  1500	2086  1494
2000  3000	2086  2989
3000  4500	2989  4483
4000  6000	3976  5978

TRACE:(5) CompareVisual arrow 
TRACE:(6) Continue
Setting the size to (2000, 1000).
width = 2086,   height = 987

TRACE:(7) CompareVisual arrow 
TRACE:(8) Exit
Exiting Test...Please Standby...