Previous: 4.51.2.4.48. ogScaleBuf() To the Table of Contents Next: 4.51.2.4.50. ogSetAntiAliasing()
4.51.2.4.48. ogScaleBuf() Table of Contents 4.51.2.4.50. ogSetAntiAliasing()

- 4.51.2.4.49. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.4. ogSurface object
4.51.2.4.49. ogSetAlpha()


4.51.2.4.49. ogSetAlpha()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Sets the default alpha level of the surface.

Declaration:
  function ogSetAlpha(alpha:uInt32):uInt32;
Remarks:

Sets the default alpha level for the surface. When packing a pixel with ogRGB(), the default alpha will be used. The value will be discarded for surfaces with no alpha channel.

Return value:

Returns the previous default alpha setting.

See also:







Previous: 4.51.2.4.48. ogScaleBuf() To the Table of Contents Next: 4.51.2.4.50. ogSetAntiAliasing()
4.51.2.4.48. ogScaleBuf() Table of Contents 4.51.2.4.50. ogSetAntiAliasing()

- 4.51.2.4.49. -