Previous: 4.51.2.4.33. ogGetPtr() To the Table of Contents Next: 4.51.2.4.35. ogHFlip()
4.51.2.4.33. ogGetPtr() Table of Contents 4.51.2.4.35. ogHFlip()

- 4.51.2.4.34. -
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.34. ogGetTransparentColor()


4.51.2.4.34. ogGetTransparentColor()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Returns the internal transparent color.

Declaration:
  function ogGetTransparentColor:uInt32;
Remarks:

The internal transparent colour is used when coordinates on ogGetPixel() are out of bounds. ogBlit uses ogGetPixel() to construct the blit, so any part of the blit that is out of bounds will be considered transparent.

Returns:

Transparent colour in packed pixel format.

See also:


Previous: 4.51.2.4.33. ogGetPtr() To the Table of Contents Next: 4.51.2.4.35. ogHFlip()
4.51.2.4.33. ogGetPtr() Table of Contents 4.51.2.4.35. ogHFlip()

- 4.51.2.4.34. -