Difference: CDChartSetCornerRadius (1 vs. 6)

Revision 62012-02-19 - JeanNeron

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

.CHART SET CNR R

This subroutine sets the radius of the corners of the "current" chart spec.

Revision 52011-12-05 - JeanNeron

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

.CHART SET CNR R

Line: 18 to 18
  This subroutine sets or resets the radius of the corners on a rounded edge. You must also set the corner style to Rounded via .CHART SET CNR STYLE for this subroutine to have any effect.
Changed:
<
<
The parameters are optional. If specified, they must be an unsigned integer in the range 1-999. They represent the radius of the specified corner in pixels. Any parameter that is blank will be reset to the default value of 10 pixels. The first parameter is the top left corner, the second is the top right, the third is bottom right and the fourth is bottom left.
>
>
The parameters are optional. If specified, they must be an unsigned integer in the range 0-999. They represent the radius of the specified corner in pixels. Any parameter that is blank will be reset to the default value of 10 pixels. The first parameter is the top left corner, the second is the top right, the third is bottom right and the fourth is bottom left. A value of 0 will draw a square corner.
  You can also use .CHART SET CNR R:TL, .CHART SET CNR R:TR, .CHART SET CNR R:BL and .CHART SET CNR R:BR to set an individual corner radius.

Comments:

Revision 42011-11-09 - JeanNeron

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

.CHART SET CNR R

Line: 12 to 12
  PASS <corner_bl> FIELD SHARE? N GOSUB 0CD .CHART SET CNR R
    • Check for error
Changed:
<
<
IF 0CD .CHART SET CNR R NE
>
>
IF 0CD .CHART SET CNR R NE
 

Description:

This subroutine sets or resets the radius of the corners on a rounded edge. You must also set the corner style to Rounded via .CHART SET CNR STYLE for this subroutine to have any effect.

Revision 32011-09-23 - JeanNeron

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

.CHART SET CNR R

Line: 20 to 20
 The parameters are optional. If specified, they must be an unsigned integer in the range 1-999. They represent the radius of the specified corner in pixels. Any parameter that is blank will be reset to the default value of 10 pixels. The first parameter is the top left corner, the second is the top right, the third is bottom right and the fourth is bottom left.

You can also use .CHART SET CNR R:TL, .CHART SET CNR R:TR, .CHART SET CNR R:BL and .CHART SET CNR R:BR to set an individual corner radius.

Changed:
<
<
Comments:
>
>

Comments:

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

Revision 22011-09-23 - JeanNeron

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

.CHART SET CNR R

Revision 12011-09-22 - JeanNeron

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

.CHART SET CNR R

This subroutine sets the radius of the corners of the "current" chart spec.


Usage:

      PASS         <corner_tl>        FIELD            SHARE? N
      PASS         <corner_tr>        FIELD            SHARE? N
      PASS         <corner_br>        FIELD            SHARE? N
      PASS         <corner_bl>        FIELD            SHARE? N
      GOSUB    0CD .CHART SET CNR R
      *        Check for error
      IF       0CD .CHART SET CNR R     NE

Description:

This subroutine sets or resets the radius of the corners on a rounded edge. You must also set the corner style to Rounded via .CHART SET CNR STYLE for this subroutine to have any effect.

The parameters are optional. If specified, they must be an unsigned integer in the range 1-999. They represent the radius of the specified corner in pixels. Any parameter that is blank will be reset to the default value of 10 pixels. The first parameter is the top left corner, the second is the top right, the third is bottom right and the fourth is bottom left.

You can also use .CHART SET CNR R:TL, .CHART SET CNR R:TR, .CHART SET CNR R:BL and .CHART SET CNR R:BR to set an individual corner radius.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-09-22

 
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