Home Rasterfunktionen SET MAXIMUM COLOR (VDI 207, 2) INQUIRE HILITE COLOR (VDI 209, 0)

2.9.5 SET WEIGHT COLOR (VDI 207, 3)

Diese Funktion setzt die Gewichtung für die Blend-Funktion.

Dekl.:  int16  vs_weight_color( int16 handle, int32 color_space, COLOR_ENTRY *weight_color );
Aufruf: vs_weight_color( handle, CSPACE_RGB, &weight_color );

Variable         Belegung            Bedeutung
Eingaben:

contrl[0]        207
contrl[1]        0                   Einträge in ptsin
contrl[3]        6                   Einträge in intin
contrl[5]        3                   3: vs_weight_color
contrl[6]        handle

intin[0/1]       color_space         Farbraum (z.Zt.nur 0 für eingestellten Farbraum oder CSPACE_RGB)
intin[2-5]       *weight_color       COLOR_ENTRY der Gewichtung für T_BLEND

Ausgaben:

contrl[2]        0                   Einträge in ptsout
contrl[4]        1                   Einträge in intout

intout[0]        Rückgabewert        -1:  falsche Unterfunktionsnummer
                                     0:   Funktion nicht vorhanden
                                     1:   alles in Ordnung

Home Rasterfunktionen SET MAXIMUM COLOR (VDI 207, 2) INQUIRE HILITE COLOR (VDI 209, 0)