WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WXP::ImageColor Struct Reference

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
 

Detailed Description

This struct sets up color values for an image.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ ImageColor()

ImageColor::ImageColor ( )

Constructor

References init().

Member Function Documentation

◆ init()

int ImageColor::init ( )

Intializes the object

References b, g, r, and val.

Referenced by ImageColor().

Member Data Documentation

◆ b

float WXP::ImageColor::b

◆ g

float WXP::ImageColor::g

◆ r

float WXP::ImageColor::r

◆ val

int WXP::ImageColor::val

Device specific color value

Referenced by WXP::Image::getPixel(), init(), and WXP::Image::setColorVal().


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