•  Back 
  •  Output functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.5.41  v_rbox                                                     TOS

 Name:         »Rounded rectangle« - Draw a rectange with rounded 
               corners.

 Opcode:       11 (GDP 8)

 Syntax:       void v_rbox ( int16_t handle, int16_t *pxyarray );

 Description:  The call v_rbox draws an unfilled rectangle with 
               rounded corners.

                Parameter    Meaning

                handle       Workstation identifier
                pxyarray[0]  X-coordinate, and
                pxyarray[1]  Y-coordinate of a rectangle corner
                pxyarray[2]  Y-coordinate, and
                pxyarray[3]  Y-coordinate of the diagonally opposite 
                             corner

               Notes: The line attributes and current writing mode as 
               well as the pixel size ratio will be respected.

               The corners above are understood as the points at which 
               the horizontal and vertial lines would meet if they 
               were extended.

               There is no way to define the radius (i.e. "roundness") 
               of the corners.

 Return value: The function does not return a result.

 Availability: Supported by all drivers. This function comprises one 
               of the 10 VDI GDP's (Generalized Drawing Primitives). 
               Although all current drivers support all GDP's, their 
               availability is not guaranteed and may vary. To check 
               for a particular GDP refer to the table returned by 
               v_opnvwk or v_opnwk.

 Group:        Output functions

 See Also:     Binding   vs_color   vswr_mode   vsl_type   vsl_width 
               vsl_color   vsl_ends   vsl_udsty