>  Docs Center  >  Libraries  >  CATALYST  >  CATGRAPHICSCMDTOOL__DEFINE
Libraries

CATGRAPHICSCMDTOOL__DEFINE

CATGRAPHICSCMDTOOL__DEFINE

Name


      CATGRAPHICSCMDTOOL__DEFINE

Purpose



      The purpose of this routine is to implement any IDL graphics command
      procedure as a tool object, giving the command the ability to be undone. Any
      graphics command can be used as long as it requires no more than three
      positional parameters. Any number of keywords are supported.

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



      aTool = Obj_New("CATGRAPHICSCMDTOOL", command, p1, p2, p2, Keyword=keyword)

Superclasses



      CATTOOL
      CATATOM
      CATCONTAINER
      IDL_CONTAINER

Class Structure



  class = { CATGRAPHICSCMDTOOL, $ ; The CATGRAPHICSCMDTOOL object class.
            INHERITS CATTOOL, $ ; Inherits the CATTOOL object class.
            _command: "", $ ; The IDL graphics command.
            _coords: Obj_New(), $ ; A CATCOORD coordinates object.
            _colors: Obj_New(), $ ; A COLORTOOL color object.
            _decomposed: 0L, $ ; The color decomposition state for the command.
            _p1: Ptr_New(), $ ; The first positional parameter of the command.
            _p2: Ptr_New(), $ ; The second positional parameter of the command.
            _p3: Ptr_New(), $ ; The third positional parameter of the command.
            _nparams: 0L, $ ; The number of parameters used in the call.
            _keywords: Ptr_New(), ; A structure of keywords used with the command.
          }

Modification History



      Written by: David Fanning, April 24, 2003.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us