Library /sys$common/syshlp/basichelp.hlb
Graphics, TRANSFORM

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  The TRANSFORM function returns the cumulative  transformations  for  all
  transformation  functions  in  nested  picture  invocations.   VAX BASIC
  automatically invokes each picture with  any  cumulative  transformation
  functions.   Therefore, when you use a DRAW statement with the TRANSFORM
  function, nested in another picture, the cumulative transformations  are
  applied twice.

  The TRANSFORM function can also be used to adjust the  text  height  and
  the text starting position for a GRAPH TEXT statement inside a picture.

  Example

  PICTURE house
    EXTERNAL PICTURE door, outline
    !+ Door is actually drawn with SHIFT(2,1) * SHIFT(2,1)
    DRAW door WITH TRANSFORM
    DRAW outline
  END PICTURE
  PROGRAM draw_house
    EXTERNAL PICTURE house
    DRAW house WITH SHIFT(2,1)
  END PROGRAM

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.