•  Back 
  •  Raster 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.11.33  vs_weight_color                                           TOS

 Name:         »Set weight colour« - Set weighting for blend function.

 Opcode:       207 (Sub-Opcode 3)

 Syntax:       int16_t vs_weight_color( int16_t handle, int32_t 
               color_space, COLOR_ENTRY *weight_color );

 Description:  The call vs_weight_color sets the weighting for the 
               colour blend function. The following apply:

                Parameter     Meaning

                handle        Workstation identifier
                color_space   Colour space (at present only 0 for the 
                              colour space set, or CSPACE_RGB)
                weight_color  COLOR_ENTRY of the weighting for T_SUB

 Return value: -1 = Wrong subfunction number
                0 = Function not present
                1 = All OK

 Availability: As of NVDI 5.00.

 Group:        Raster functions

 See Also:     Binding