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.3 v_arc TOS Name: »Arc« - Draw a circular arc. Opcode: 11 (GDP 2) Syntax: void v_arc ( int16_t handle, int16_t x, int16_t y, int16_t radius, int16_t begang, int16_t endang ); Description: The call v_arc draws an arc of a circle. The following apply: Parameter Meaning handle Workstation identifier x X-coordinate, and y Y-coordinate of arc's center point radius Length of arc's radius in X-axis units begang Starting angle in tenths of degrees (0-3600) endang Ending angle in tenths of degrees (0-3600) Note: The lines attributes, the writing mode as well as the actual pixel size are taken into account for drawing. The specification for the radius refers to the X-axis. The angle is specified in 1/10 degrees in the anticlockwise direction. 900 | | | ---------+--------- 1800 | 0 | | 2700 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