RGBAS32

Functions

HIC_RGBAS32

HIC_Pack_RGBAS32

unsigned char

HIC_Unpack_RGBAS32_Red

unsigned char

HIC_Unpack_RGBAS32_Green

unsigned char

HIC_Unpack_RGBAS32_Blue

unsigned char

HIC_Unpack_RGBAS32_Alpha

Detailed Description

group RGBAS32

Function Documentation

HIC_RGBAS32 HIC_Pack_RGBAS32(int r, int g, int b, int a)

This function takes 4 color channels to create an HIC_RGBAS32 structure.

Parameters:
  • r – An int.

  • g – An int.

  • b – An int.

  • a – An int.

Returns:

A HIC_RGBAS32.

unsigned char HIC_Unpack_RGBAS32_Red(HIC_RGBAS32 rgbas32)

This function shows the red component of an HIC_RGBAS32 structure.

Parameters:

rgbas32 – An HIC_RGBAS32.

Returns:

An unsigned char.

unsigned char HIC_Unpack_RGBAS32_Green(HIC_RGBAS32 rgbas32)

This function shows the green component of an HIC_RGBAS32 structure.

Parameters:

rgbas32 – An HIC_RGBAS32.

Returns:

An unsigned char.

unsigned char HIC_Unpack_RGBAS32_Blue(HIC_RGBAS32 rgbas32)

This function shows the blue component of an HIC_RGBAS32 structure.

Parameters:

rgbas32 – An HIC_RGBAS32.

Returns:

An unsigned char.

unsigned char HIC_Unpack_RGBAS32_Alpha(HIC_RGBAS32 rgbas32)

This function shows the alpha component of an HIC_RGBAS32 structure.

Parameters:

rgbas32 – An HIC_RGBAS32.

Returns:

An unsigned char.