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

Public Member Functions

 floodFillTextureImage (const ::ssize_t x_, const ::ssize_t y_, const Image &texture_)
 
 floodFillTextureImage (const Geometry &point_, const Image &texture_)
 
 floodFillTextureImage (const ::ssize_t x_, const ::ssize_t y_, const Image &texture_, const Color &borderColor_)
 
 floodFillTextureImage (const Geometry &point_, const Image &texture_, const Color &borderColor_)
 
void operator() (Image &image_) const
 

Private Attributes

::ssize_t _x
 
::ssize_t _y
 
Image _texture
 
Color _borderColor
 

Detailed Description

Definition at line 492 of file STL.h.

Constructor & Destructor Documentation

◆ floodFillTextureImage() [1/2]

Magick::floodFillTextureImage::floodFillTextureImage ( const Geometry & point_,
const Image & texture_ )

Definition at line 471 of file STL.cpp.

473 : _x(point_.xOff()),
474 _y(point_.yOff()),
475 _texture(texture_),
476 _borderColor()
477{
478}

◆ floodFillTextureImage() [2/2]

Magick::floodFillTextureImage::floodFillTextureImage ( const Geometry & point_,
const Image & texture_,
const Color & borderColor_ )

Definition at line 492 of file STL.cpp.

495 : _x(point_.xOff()),
496 _y(point_.yOff()),
497 _texture(texture_),
498 _borderColor(borderColor_)
499{
500}

Member Function Documentation

◆ operator()()

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

Definition at line 501 of file STL.cpp.

502{
503 if ( _borderColor.isValid() )
504 {
505 image_.floodFillTexture( _x, _y, _texture, _borderColor );
506 }
507 else
508 {
509 image_.floodFillTexture( _x, _y, _texture );
510 }
511}

Member Data Documentation

◆ _borderColor

Color Magick::floodFillTextureImage::_borderColor
private

Definition at line 523 of file STL.h.

◆ _texture

Image Magick::floodFillTextureImage::_texture
private

Definition at line 522 of file STL.h.

◆ _x

::ssize_t Magick::floodFillTextureImage::_x
private

Definition at line 520 of file STL.h.

◆ _y

::ssize_t Magick::floodFillTextureImage::_y
private

Definition at line 521 of file STL.h.


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