Tags:
create new tag
view all tags

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

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


-- JeanNeron - 2011-09-22

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2012-02-19 - 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