CAT_ARROW__DEFINE Name
             CAT_ARROW__DEFINE
Purpose
 
      
       The purpose of this routine is to provide an arrow that can be displayed
      
       in a direct graphics draw widget. The coordinate system of the Cat_Arrow
      
       object is either passed to it (a CatCoord object) or is a normalized
              coordinate system by default.
Authors
 
        
        FANNING SOFTWARE CONSULTING   BURRIDGE COMPUTING
        
        1645 Sheely Drive             18 The Green South
        
        Fort Collins                  Warborough, Oxon
        
        CO 80526 USA                  OX10 7DN, ENGLAND
        
        Phone: 970-221-0438           Phone: +44 (0)1865 858279
        
        E-mail: davidf@dfanning.com   E-mail: davidb@burridgecomputing.co.uk
Category
 
      
       Objects. Syntax
      
       arrowObject = Obj_New("CAT_ARROW", X1=0.5, Y1=0.5, X2=0.75, Y2=0.75)
              drawObject -> Add, arrowObject
Superclasses
 
      
       SELECTABLEOBJECT 
              CATDATAATOM
              CATATOM 
      
       CATCONTAINER IDLITCOMPONENT 
      
       IDL_CONTAINER Class Structure
      class = { CAT_ARROW, $
            
             arrowhead: 0L, $            ; A flag to indicate which arrow heads should be drawn.
            
             headsize: 0L, $             ; The arrow head size in pixels. By default !D.X_Size / 50.
            
             layerObject: Obj_New(), $   ; A CATLAYER object for holding the annotation.
            
             linestyle: 0L, $            ; The linestyle the arrow is drawn in.
            
             midx: 0.0, $                ; The midpoint of the arrow in X.
            
             midy: 0.0, $                ; The midpoint of the arrow in Y.
            
             moveend: 0L, $              ; Indicates which end of arrow (1 or 2) you are moving.
            
             orientation: 0.0, $         ; The orientation of the arrow
            
             thickness: 0.0, $           ; The thickness of the arrow.
            
             x1: 0.0, $                  ; The X location for one end of the arrow.
            
             y1: 0.0, $                  ; The Y location for one end of the arrow.
            
             x2: 0.0, $                  ; The X location for the other end of the arrow.
            
             y2: 0.0, $                  ; The Y location for the other end of the arrow.
            
             sx: 0L, $                   ; The static end of a moving arrow.
            
             sy: 0L, $                   ; The static end of a moving arrow.
            
             INHERITS SelectableObject $
                      }
Messages
 
  
   CAT_ARROW_CHANGED:   This message is sent whenever SetProperty method is called and the NOMESSAGE
                    
                    keyword is NOT set.
Modification History
 
      
       Written by: David W. Fanning, 25 Jan 2004. 
      
       Added ability to use MAPCOORD coordinates object. 14 June 2009. DWF.