Silverfrost Logo About Us | Contact Us
 

SET_OPACITY@

Platform

Win32, x64

Purpose

To set the opacity for future drawing operations.

Syntax

SUBROUTINE SET_OPACITY( OPACITY )
INTEGER OPACITY

Description

SET_OPACITY@ enables programmers to set the alpha value for colours. A value for Opacity in the range 0-255 inclusive, sets this as the default value for the current drawing surface and activates the GDI+ library. 255 is fully opaque - colours without an opacity value can be considered having an opacity of 255. A value of 256 (the initial default) indicates that the GDI+ library is not to be used. This function returns the previous opacity value. With the function and SET_SMOOTHING_MODE@, standard ClearWin+ drawing routines like DRAW_LINE_BETWEEN@ and DRAW_CHARACTERS@ can be used without change.

Notes

Introduced with FTN95 7.00.

See also

Using GDI+, USE_GDIPLUS@, nARGB@

 

 

Copyright © 1999-2018 Silverfrost Limited