•  Back 
  •  VDI Attributes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevst_rotation()                                                          VDI

Syntax

WORD vst_rotation( handle, angle )
WORD handle, angle;

Function      vst_rotation() sets the angle at which graphic text is
              drawn.

Opcode        13

Availability  Supported by all drivers. For specific character rotation
              abilities, check the values returned in vq_extnd().

Parameters    handle specifies a valid workstation handle.
              angle specifies the angle at which to rotate text in
              tenths of degrees as follows:

index=1022
Binding contrl[0] = 13; contrl[1] = 0; contrl[3] = 1; contrl[6] = handle; intin[0] = angle; vdi(); return intout[0]; Return Value vst_rotation() returns the value of rotation actually set. Comments Bitmap fonts may only be rotated at 0, 90, and 270 degrees. Outline fonts may be rotated at any angle with FSM. Group VDI Attributes