Macro Syntax:                                             R w,h ;             

            

            Draw a rectangle. Top left corner is at current pen position. w and h are the width and height in pixels. The current pen color is used for the border. The Pen color 0 is used for the inside of the rectangle. And the hatch, style and width values that are current affect the rectangle. The current pen position doesn't change after this command.


Macro Syntax:                                             R w,h, cw,ch ;              


            Alternate draw rectangle command. It is the same as above except that it rounds the corners of the rectangle. The parameters cw and ch are the width and height of the corner.