Magick++ 6.9.13
Loading...
Searching...
No Matches
Magick::colorizeImage Class Reference
Collaboration diagram for Magick::colorizeImage:

Public Member Functions

 colorizeImage (const unsigned int opacityRed_, const unsigned int opacityGreen_, const unsigned int opacityBlue_, const Color &penColor_)
 
 colorizeImage (const unsigned int opacity_, const Color &penColor_)
 
void operator() (Image &image_) const
 

Private Attributes

unsigned int _opacityRed
 
unsigned int _opacityGreen
 
unsigned int _opacityBlue
 
Color _penColor
 

Detailed Description

Definition at line 214 of file STL.h.

Constructor & Destructor Documentation

◆ colorizeImage() [1/2]

Magick::colorizeImage::colorizeImage ( const unsigned int opacityRed_,
const unsigned int opacityGreen_,
const unsigned int opacityBlue_,
const Color & penColor_ )

Definition at line 175 of file STL.cpp.

179 : _opacityRed ( opacityRed_ ),
180 _opacityGreen ( opacityGreen_ ),
181 _opacityBlue ( opacityBlue_ ),
182 _penColor( penColor_ )
183{
184}

◆ colorizeImage() [2/2]

Magick::colorizeImage::colorizeImage ( const unsigned int opacity_,
const Color & penColor_ )

Definition at line 185 of file STL.cpp.

187 : _opacityRed ( opacity_ ),
188 _opacityGreen ( opacity_ ),
189 _opacityBlue ( opacity_ ),
190 _penColor( penColor_ )
191{
192}

Member Function Documentation

◆ operator()()

void Magick::colorizeImage::operator() ( Magick::Image & image_) const

Definition at line 193 of file STL.cpp.

194{
195 image_.colorize( _opacityRed, _opacityGreen, _opacityBlue, _penColor );
196}

Member Data Documentation

◆ _opacityBlue

unsigned int Magick::colorizeImage::_opacityBlue
private

Definition at line 230 of file STL.h.

◆ _opacityGreen

unsigned int Magick::colorizeImage::_opacityGreen
private

Definition at line 229 of file STL.h.

◆ _opacityRed

unsigned int Magick::colorizeImage::_opacityRed
private

Definition at line 228 of file STL.h.

◆ _penColor

Color Magick::colorizeImage::_penColor
private

Definition at line 231 of file STL.h.


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