|
WXP C++ Library Version 6.74.9
|
This struct sets up color values for an image. More...
#include "../include/ImageColor.h"
Public Member Functions | |
| ImageColor () | |
| int | init () |
Public Attributes | |
| float | r |
| float | g |
| float | b |
| int | val |
This struct sets up color values for an image.
| ImageColor::ImageColor | ( | ) |
Constructor
References init().
| int ImageColor::init | ( | ) |
| float WXP::ImageColor::b |
Blue value (0-1)
Referenced by init(), WXP::ImageMath::toGray(), WXP::ImageMath::toIndex(), WXP::ImageMath::toIndex(), and WXP::ImageMath::toTrueColor().
| float WXP::ImageColor::g |
Green value (0-1)
Referenced by init(), WXP::ImageMath::toGray(), WXP::ImageMath::toIndex(), WXP::ImageMath::toIndex(), and WXP::ImageMath::toTrueColor().
| float WXP::ImageColor::r |
Red value (0-1)
Referenced by init(), WXP::ImageMath::toGray(), WXP::ImageMath::toIndex(), WXP::ImageMath::toIndex(), and WXP::ImageMath::toTrueColor().