This source file includes following definitions.
- backgroundColor
- backgroundColor
- compose
- compose
- fileName
- fileName
- fillColor
- fillColor
- font
- font
- geometry
- geometry
- gravity
- gravity
- label
- label
- penColor
- penColor
- pointSize
- pointSize
- shadow
- shadow
- strokeColor
- strokeColor
- texture
- texture
- tile
- tile
- title
- title
- transparentColor
- transparentColor
- borderColor
- borderColor
- borderWidth
- borderWidth
- frameGeometry
- frameGeometry
- matteColor
- matteColor
#if !defined(Magick_Montage_header)
#define Magick_Montage_header
#include "Magick++/Include.h"
#include <string>
#include "Magick++/Color.h"
#include "Magick++/Geometry.h"
namespace Magick
{
class MagickPPExport Montage
{
public:
Montage(void);
virtual ~Montage(void);
void backgroundColor(const Color &backgroundColor_);
Color backgroundColor(void) const;
void compose(CompositeOperator compose_);
CompositeOperator compose(void) const;
void fileName(const std::string &fileName_);
std::string fileName(void) const;
void fillColor(const Color &fill_);
Color fillColor(void) const;
void font(const std::string &font_);
std::string font(void) const;
void geometry(const Geometry &geometry_);
Geometry geometry(void) const;
void gravity(GravityType gravity_);
GravityType gravity(void) const;
void label(const std::string &label_);
std::string label(void) const;
void penColor(const Color &pen_);
Color penColor(void) const;
void pointSize(size_t pointSize_);
size_t pointSize(void) const;
void shadow(bool shadow_);
bool shadow(void) const;
void strokeColor(const Color &stroke_);
Color strokeColor(void) const;
void texture(const std::string &texture_);
std::string texture(void) const;
void tile(const Geometry &tile_);
Geometry tile(void) const;
void title(const std::string &title_);
std::string title(void) const;
void transparentColor(const Color &transparentColor_);
Color transparentColor(void) const;
virtual void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const;
private:
Color _backgroundColor;
CompositeOperator _compose;
std::string _fileName;
Color _fill;
std::string _font;
Geometry _geometry;
GravityType _gravity;
std::string _label;
size_t _pointSize;
bool _shadow;
Color _stroke;
std::string _texture;
Geometry _tile;
std::string _title;
Color _transparentColor;
};
class MagickPPExport MontageFramed : public Montage
{
public:
MontageFramed(void);
~MontageFramed(void);
void borderColor(const Color &borderColor_);
Color borderColor(void) const;
void borderWidth(size_t borderWidth_);
size_t borderWidth(void) const;
void frameGeometry(const Geometry &frame_);
Geometry frameGeometry(void) const;
void matteColor(const Color &matteColor_);
Color matteColor(void) const;
void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const;
private:
Color _borderColor;
size_t _borderWidth;
Geometry _frame;
Color _matteColor;
};
}
inline void Magick::Montage::backgroundColor(const Magick::Color &backgroundColor_)
{
_backgroundColor=backgroundColor_;
}
inline Magick::Color Magick::Montage::backgroundColor(void) const
{
return(_backgroundColor);
}
inline void Magick::Montage::compose(Magick::CompositeOperator compose_)
{
_compose=compose_;
}
inline Magick::CompositeOperator Magick::Montage::compose(void) const
{
return(_compose);
}
inline void Magick::Montage::fileName(const std::string &fileName_)
{
_fileName=fileName_;
}
inline std::string Magick::Montage::fileName(void) const
{
return(_fileName);
}
inline void Magick::Montage::fillColor(const Color &fill_)
{
_fill=fill_;
}
inline Magick::Color Magick::Montage::fillColor(void) const
{
return(_fill);
}
inline void Magick::Montage::font(const std::string &font_)
{
_font=font_;
}
inline std::string Magick::Montage::font(void) const
{
return(_font);
}
inline void Magick::Montage::geometry(const Magick::Geometry &geometry_)
{
_geometry=geometry_;
}
inline Magick::Geometry Magick::Montage::geometry(void) const
{
return(_geometry);
}
inline void Magick::Montage::gravity(Magick::GravityType gravity_)
{
_gravity=gravity_;
}
inline Magick::GravityType Magick::Montage::gravity(void) const
{
return(_gravity);
}
inline void Magick::Montage::label(const std::string &label_)
{
_label=label_;
}
inline std::string Magick::Montage::label(void) const
{
return(_label);
}
inline void Magick::Montage::penColor(const Color &pen_)
{
_fill=pen_;
_stroke=Color("none");
}
inline Magick::Color Magick::Montage::penColor(void) const
{
return _fill;
}
inline void Magick::Montage::pointSize(size_t pointSize_)
{
_pointSize=pointSize_;
}
inline size_t Magick::Montage::pointSize(void) const
{
return(_pointSize);
}
inline void Magick::Montage::shadow(bool shadow_)
{
_shadow=shadow_;
}
inline bool Magick::Montage::shadow(void) const
{
return(_shadow);
}
inline void Magick::Montage::strokeColor(const Color &stroke_)
{
_stroke=stroke_;
}
inline Magick::Color Magick::Montage::strokeColor(void) const
{
return(_stroke);
}
inline void Magick::Montage::texture(const std::string &texture_)
{
_texture=texture_;
}
inline std::string Magick::Montage::texture(void) const
{
return(_texture);
}
inline void Magick::Montage::tile(const Geometry &tile_)
{
_tile=tile_;
}
inline Magick::Geometry Magick::Montage::tile(void) const
{
return(_tile);
}
inline void Magick::Montage::title(const std::string &title_)
{
_title=title_;
}
inline std::string Magick::Montage::title(void) const
{
return(_title);
}
inline void Magick::Montage::transparentColor(const Magick::Color &transparentColor_)
{
_transparentColor=transparentColor_;
}
inline Magick::Color Magick::Montage::transparentColor(void) const
{
return(_transparentColor);
}
inline void Magick::MontageFramed::borderColor(const Magick::Color &borderColor_)
{
_borderColor=borderColor_;
}
inline Magick::Color Magick::MontageFramed::borderColor(void) const
{
return(_borderColor);
}
inline void Magick::MontageFramed::borderWidth(size_t borderWidth_)
{
_borderWidth=borderWidth_;
}
inline size_t Magick::MontageFramed::borderWidth(void) const
{
return(_borderWidth);
}
inline void Magick::MontageFramed::frameGeometry(const Magick::Geometry &frame_)
{
_frame=frame_;
}
inline Magick::Geometry Magick::MontageFramed::frameGeometry(void) const
{
return(_frame);
}
inline void Magick::MontageFramed::matteColor(const Magick::Color &matteColor_)
{
_matteColor=matteColor_;
}
inline Magick::Color Magick::MontageFramed::matteColor(void) const
{
return(_matteColor);
}
#endif