8 #define MAGICKCORE_IMPLEMENTATION 1
9 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1
19 : _backgroundColor(
"#ffffff"),
20 _compose(OverCompositeOp),
24 _geometry(
"120x120+4+3>"),
25 _gravity(CenterGravity),
43 (void) MagickCore::ResetMagickMemory(&montageInfo_,0,
sizeof(montageInfo_));
46 montageInfo_.background_color=_backgroundColor;
48 montageInfo_.border_color=
Color();
50 montageInfo_.border_width=0;
52 if (_fileName.length() != 0)
54 _fileName.copy(montageInfo_.filename,MaxTextExtent-1);
55 montageInfo_.filename[_fileName.length()]=0;
58 montageInfo_.fill=_fill;
60 if (_font.length() != 0)
63 if (_geometry.isValid())
66 montageInfo_.gravity=_gravity;
68 montageInfo_.matte_color=
Color();
70 montageInfo_.pointsize=_pointSize;
72 montageInfo_.shadow=
static_cast<MagickBooleanType
>(_shadow ? MagickTrue :
75 montageInfo_.signature=MagickSignature;
77 montageInfo_.stroke=_stroke;
79 if (_texture.length() != 0)
85 if (_title.length() != 0)
94 : _borderColor(
"#dfdfdf"),
97 _matteColor(
"#bdbdbd")
111 montageInfo_.border_color=_borderColor;
113 montageInfo_.border_width=_borderWidth;
115 if (_frame.isValid())
118 montageInfo_.matte_color=_matteColor;
class MagickPPExport Color
void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const
virtual void updateMontageInfo(MagickCore::MontageInfo &montageInfo_) const
MagickPPExport void CloneString(char **destination_, const std::string &source_)