Difference: CDShapeSetSides (1 vs. 2)

Revision 22012-02-25 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorXYChartRoutines"
 

.SHAPE SET SIDES CNT

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

Revision 12011-10-20 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.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.


<--/commentPlugin-->

-- JeanNeron - 2011-10-20

 
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