Magick++ 7.1.2-29
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::floodFillTextureImage Class Reference

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 510 of file STL.h.

Constructor & Destructor Documentation

◆ floodFillTextureImage() [1/4]

Magick::floodFillTextureImage::floodFillTextureImage ( const ::ssize_t x_,
const ::ssize_t y_,
const Image & texture_,
const bool invert_ = false )

Definition at line 472 of file STL.cpp.

474 : _x(x_),
475 _y(y_),
476 _texture(texture_),
477 _borderColor(),
478 _invert(invert_)
479{
480}

◆ floodFillTextureImage() [2/4]

Magick::floodFillTextureImage::floodFillTextureImage ( const Geometry & point_,
const Image & texture_,
const bool invert_ = false )

Definition at line 482 of file STL.cpp.

485 : _x(point_.xOff()),
486 _y(point_.yOff()),
487 _texture(texture_),
488 _borderColor(),
489 _invert(invert_)
490{
491}

◆ floodFillTextureImage() [3/4]

Magick::floodFillTextureImage::floodFillTextureImage ( const ::ssize_t x_,
const ::ssize_t y_,
const Image & texture_,
const Color & borderColor_,
const bool invert_ = false )

Definition at line 493 of file STL.cpp.

496 : _x(x_),
497 _y(y_),
498 _texture(texture_),
499 _borderColor(borderColor_),
500 _invert(invert_)
501{
502}

◆ floodFillTextureImage() [4/4]

Magick::floodFillTextureImage::floodFillTextureImage ( const Geometry & point_,
const Image & texture_,
const Color & borderColor_,
const bool invert_ = false )

Definition at line 504 of file STL.cpp.

507 : _x(point_.xOff()),
508 _y(point_.yOff()),
509 _texture(texture_),
510 _borderColor(borderColor_),
511 _invert(invert_)
512{
513}

Member Function Documentation

◆ operator()()

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

Definition at line 515 of file STL.cpp.

516{
517 if (_borderColor.isValid())
518 image_.floodFillTexture(_x,_y,_texture,_borderColor,_invert);
519 else
520 image_.floodFillTexture(_x,_y,_texture,_invert);
521}

Field Documentation

◆ _borderColor

Color Magick::floodFillTextureImage::_borderColor
private

Definition at line 538 of file STL.h.

◆ _invert

bool Magick::floodFillTextureImage::_invert
private

Definition at line 539 of file STL.h.

◆ _texture

Image Magick::floodFillTextureImage::_texture
private

Definition at line 537 of file STL.h.

◆ _x

::ssize_t Magick::floodFillTextureImage::_x
private

Definition at line 535 of file STL.h.

◆ _y

::ssize_t Magick::floodFillTextureImage::_y
private

Definition at line 536 of file STL.h.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/ImageMagick-7.1.2.29-build/ImageMagick-7.1.2-29/Magick++/lib/Magick++/STL.h
  • /builddir/build/BUILD/ImageMagick-7.1.2.29-build/ImageMagick-7.1.2-29/Magick++/lib/STL.cpp