>># 
>>#      SCCS:  @(#)  crtfntcrsr.m Rel 1.5	    (11/25/91)
>># 
>># UniSoft Ltd., London, England
>># 
>># (C) Copyright 1991 X/Open Company Limited
>># 
>># All rights reserved.  No part of this source code may be reproduced,
>># stored in a retrieval system, or transmitted, in any form or by any
>># means, electronic, mechanical, photocopying, recording or otherwise,
>># except as stated in the end-user licence agreement, without the prior
>># permission of the copyright owners.
>># 
>># X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
>># the UK and other countries.
>># 
>>#
>>TITLE XCreateFontCursor XOPEN
>>ASSERTION A XCreateFontCursor-1
When the shape argument is XC_X_cursor, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_X_cursor.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-2
When the shape argument is XC_bottom_left_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_left_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-3
When the shape argument is XC_bottom_right_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_right_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-4
When the shape argument is XC_top_left_corner, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_left_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-5
When the shape argument is XC_top_right_corner, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_right_corner.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-6
When the shape argument is XC_arrow, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-7
When the shape argument is XC_based_arrow_down, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_based_arrow_down.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-8
When the shape argument is XC_based_arrow_up, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_based_arrow_up.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-9
When the shape argument is XC_double_arrow, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-10
When the shape argument is XC_question_arrow, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_question_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-11
When the shape argument is XC_sb_h_double_arrow, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_sb_h_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-12
When the shape argument is XC_sb_v_double_arrow, then a
call to XCreateFontCursor creates a Cursor and returns the
cursor ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_sb_v_double_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-13
When the shape argument is XC_top_left_arrow, then a call
to XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_left_arrow.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-14
When the shape argument is XC_bottom_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-15
When the shape argument is XC_left_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-16
When the shape argument is XC_right_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-17
When the shape argument is XC_top_tee, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_tee.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-18
When the shape argument is XC_bottom_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_bottom_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-19
When the shape argument is XC_left_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-20
When the shape argument is XC_right_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-21
When the shape argument is XC_top_side, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_top_side.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-22
When the shape argument is XC_ll_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ll_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-23
When the shape argument is XC_lr_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_lr_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-24
When the shape argument is XC_ul_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ul_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-25
When the shape argument is XC_ur_angle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_ur_angle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-26
When the shape argument is XC_circle, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_circle.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-27
When the shape argument is XC_cross, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_cross.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-28
When the shape argument is XC_crosshair, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_crosshair.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-29
When the shape argument is XC_center_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_center_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-30
When the shape argument is XC_left_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_left_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
>>ASSERTION A XCreateFontCursor-31
When the shape argument is XC_right_ptr, then a call to
XCreateFontCursor creates a Cursor and returns the cursor
ID.
>>STRATEGY
Create windows.
Call XCreateFontCursor with shape XC_right_ptr.
Verify that XCreateFontCursor returns non-zero.
Call XDefineCursor and verify that no error occurs.
Call XRecolorCursor and verify that no error occurs.
Call XFreeCursor and verify that no error occurs.
