Tags:
create new tag
view all tags

.SHAPE SET SIDES CNT

This subroutine is called to set the number of sides, points or width for the current shape.


Usage:

      PASS         <no_of_points>        FIELD            SHARE? N
      GOSUB    OCD .SHAPE SET SIDES CNT
      *        Check for error
      IF       OCD .SHAPE SET SIDES CNT          NE

Description:

This subroutine sets the number of sides, points or width for the "current" shape. The <no_of_points> parameter is optional, and if not passed or blank, the shape will be reset to a default value.

For Polygon shapes, <no_of_points> is the desired number of sides on the polygon (must be >3). For starShape, it is the number of points on the star (must be >3). For the cross shapes, it is a value between 0 and 1 that represents the percentage width of the arms of the a '+' relative to the entire shape. This subroutine has no effect on other shapes.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-10-20

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-25 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback