11 #define MAGICKCORE_IMPLEMENTATION 1 12 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1 22 : _backgroundColor(
"#ffffff"),
26 _geometry(
"120x120+4+3>"),
27 _gravity(CenterGravity),
45 _backgroundColor=backgroundColor_;
50 return(_backgroundColor);
115 _pointSize=pointSize_;
175 _transparentColor=transparentColor_;
180 return(_transparentColor);
185 (void) memset(&montageInfo_,0,
sizeof(montageInfo_));
188 montageInfo_.matte_color=
Color();
190 montageInfo_.background_color=_backgroundColor;
192 montageInfo_.border_color=
Color();
194 montageInfo_.border_width=0;
196 if (_font.length() != 0)
198 _fileName.copy(montageInfo_.filename,MagickPathExtent-1);
199 montageInfo_.filename[ _fileName.length() ] = 0;
202 montageInfo_.fill=_fill;
204 if (_font.length() != 0)
207 if (_geometry.isValid())
210 montageInfo_.gravity=_gravity;
212 montageInfo_.pointsize=_pointSize;
214 montageInfo_.shadow=
static_cast<MagickBooleanType
> 215 (_shadow ? MagickTrue : MagickFalse);
217 montageInfo_.signature=MagickCoreSignature;
219 montageInfo_.stroke=_stroke;
221 if (_texture.length() != 0)
227 if (_title.length() != 0)
236 : _matteColor(
"#bdbdbd"),
237 _borderColor(
"#dfdfdf"),
249 _matteColor=matteColor_;
259 _borderColor=borderColor_;
264 return(_borderColor);
269 _borderWidth=borderWidth_;
274 return(_borderWidth);
293 montageInfo_.matte_color = _matteColor;
295 montageInfo_.border_color=_borderColor;
297 montageInfo_.border_width=_borderWidth;
299 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