Tags:
create new tag
view all tags

.TEXT SET BX CNR R:BR

This subroutine sets the radius of the bottom right corner of the "current" text box.


Usage:

      PASS         <bottom_right_radius>      FIELD            SHARE? N
      GOSUB    0CD .TEXT SET BX CNR R:BR
      *        Check for error
      IF       0CD .TEXT SET BX CNR R:BR      NE

Description:

This subroutine sets or resets the radius of the bottom right corner 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 parameter is optional. If specified, it must be an unsigned integer in the range 1-999. It represents the radius of the specified corner in pixels. A blank will reset the corner to the default value of 10 pixels.

You can also use .TEXT SET BX CNR R:TR, .TEXT SET BX CNR R:BL and .TEXT SET BX CNR R:TL to set an individual corner radius or .TEXT SET BX CNR R to set all the corners at once.

Comments:

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


-- JeanNeron - 2011-11-18

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-22 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback