Assignments Assignments

Public Member Functions | Public Attributes | List of all members
Image::Pixel32 Class Reference

`#include <image.h>`

## Public Member Functions
| Pixel32 (void)

## Public Attributes
unsigned char | r
unsigned char | g
unsigned char | b
unsigned char | a

## Detailed Description

This class represents a 4-channel, 32-bit, RGBA pixel.

## Constructor & Destructor Documentation

## ◆ Pixel32()

Pixel32::Pixel32 | ( | void |  | ) |

The default constructor instantiates a pixel with 0 for the red, green and blue components, and 255 for the alpha.

## Member Data Documentation

## ◆ a

unsigned char Image::Pixel32::a

The alpha component of the pixel

## ◆ b

unsigned char Image::Pixel32::b

The blue component of the pixel

## ◆ g

unsigned char Image::Pixel32::g

The green component of the pixel

## ◆ r

unsigned char Image::Pixel32::r

The red component of the pixel

The documentation for this class was generated from the following files:

- Assignments/Image/image.h
- Assignments/Image/image.cpp