8 #define MAGICKCORE_IMPLEMENTATION 1 9 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1 19 : _backgroundColor(
"#ffffff"),
23 _geometry(
"120x120+4+3>"),
24 _gravity(CenterGravity),
42 _backgroundColor=backgroundColor_;
47 return(_backgroundColor);
112 _pointSize=pointSize_;
172 _transparentColor=transparentColor_;
177 return(_transparentColor);
182 (void) memset(&montageInfo_,0,
sizeof(montageInfo_));
185 montageInfo_.matte_color=
Color();
187 montageInfo_.background_color=_backgroundColor;
189 montageInfo_.border_color=
Color();
191 montageInfo_.border_width=0;
193 if (_font.length() != 0)
195 _fileName.copy(montageInfo_.filename,MagickPathExtent-1);
196 montageInfo_.filename[ _fileName.length() ] = 0;
199 montageInfo_.fill=_fill;
201 if (_font.length() != 0)
204 if (_geometry.isValid())
207 montageInfo_.gravity=_gravity;
209 montageInfo_.pointsize=_pointSize;
211 montageInfo_.shadow=
static_cast<MagickBooleanType
> 212 (_shadow ? MagickTrue : MagickFalse);
214 montageInfo_.signature=MagickCoreSignature;
216 montageInfo_.stroke=_stroke;
218 if (_texture.length() != 0)
224 if (_title.length() != 0)
233 : _matteColor(
"#bdbdbd"),
234 _borderColor(
"#dfdfdf"),
246 _matteColor=matteColor_;
256 _borderColor=borderColor_;
261 return(_borderColor);
266 _borderWidth=borderWidth_;
271 return(_borderWidth);
290 montageInfo_.matte_color = _matteColor;
292 montageInfo_.border_color=_borderColor;
294 montageInfo_.border_width=_borderWidth;
296 if (_frame.isValid())
class MagickPPExport Color
GravityType gravity(void) const
std::string texture(void) const
Geometry frameGeometry(void) const
size_t borderWidth(void) const
Color fillColor(void) const
Color matteColor(void) const
size_t pointSize(void) const
Color backgroundColor(void) const
std::string font(void) const
std::string fileName(void) const
Color borderColor(void) const
Color transparentColor(void) const
Geometry geometry(void) const
std::string title(void) const
MagickPPExport void CloneString(char **destination_, const std::string &source_)
Geometry tile(void) const
void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const
virtual void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const
Color strokeColor(void) const
std::string label(void) const