Tags:
create new tag
view all tags

.SHAPE SET WIDTH PCT

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


Usage:

      PASS         <width_percent>        FIELD            SHARE? N
      GOSUB    OCD .SHAPE SET WIDTH PCT
      *        Check for error
      IF       OCD .SHAPE SET WIDTH PCT          NE

Description:

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

For Polygon shapes, <width_percent> 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