.TEXT SET BX CNR R
This subroutine sets the radius of the corners of the "current" text box
.
Usage:
PASS <top_left_radius> FIELD SHARE? N
PASS <top_right_radius> FIELD SHARE? N
PASS <bottom_right_radius> FIELD SHARE? N
PASS <bottom_left_radius> FIELD SHARE? N
GOSUB 0CD .TEXT SET BX CNR R
* Check for error
IF 0CD .TEXT SET BX 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
.TEXT SET BX 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. If only one parameter is passed, then all corners will be set to that value. Otherwise, the individual values are set as received. Any value not received is cleared indicating that an appropriate default should be used to render the box.
You can also use
.TEXT SET BX CNR R:TL,
.TEXT SET BX CNR R:TR,
.TEXT SET BX CNR R:BL and
.TEXT SET BX 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-11-18