Powered by Pair ImageMagick logo
Image Magick
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Magick::MontageFramed Class Reference

#include <Montage.h>

Inheritance diagram for Magick::MontageFramed:

Inheritance graph
[legend]
Collaboration diagram for Magick::MontageFramed:

Collaboration graph
[legend]

Public Member Functions

 MontageFramed (void)
 ~MontageFramed (void)
void borderColor (const Color &borderColor_)
Color borderColor (void) const
void borderWidth (unsigned int borderWidth_)
unsigned int borderWidth (void) const
void frameGeometry (const Geometry &frame_)
Geometry frameGeometry (void) const
void matteColor (const Color &matteColor_)
Color matteColor (void) const
void updateMontageInfo (MagickLib::MontageInfo &montageInfo_) const
 MontageFramed (void)
 ~MontageFramed (void)
void borderColor (const Color &borderColor_)
Color borderColor (void) const
void borderWidth (unsigned int borderWidth_)
unsigned int borderWidth (void) const
void frameGeometry (const Geometry &frame_)
Geometry frameGeometry (void) const
void matteColor (const Color &matteColor_)
Color matteColor (void) const
void updateMontageInfo (MagickLib::MontageInfo &montageInfo_) const
void backgroundColor (const Color &backgroundColor_)
Color backgroundColor (void) const
void backgroundColor (const Color &backgroundColor_)
Color backgroundColor (void) const
void compose (CompositeOperator compose_)
CompositeOperator compose (void) const
void compose (CompositeOperator compose_)
CompositeOperator compose (void) const
void fileName (const std::string &fileName_)
std::string fileName (void) const
void fileName (const std::string &fileName_)
std::string fileName (void) const
void fillColor (const Color &fill_)
Color fillColor (void) const
void fillColor (const Color &fill_)
Color fillColor (void) const
void font (const std::string &font_)
std::string font (void) const
void font (const std::string &font_)
std::string font (void) const
void geometry (const Geometry &geometry_)
Geometry geometry (void) const
void geometry (const Geometry &geometry_)
Geometry geometry (void) const
void gravity (GravityType gravity_)
GravityType gravity (void) const
void gravity (GravityType gravity_)
GravityType gravity (void) const
void label (const std::string &label_)
std::string label (void) const
void label (const std::string &label_)
std::string label (void) const
void penColor (const Color &pen_)
Color penColor (void) const
void penColor (const Color &pen_)
Color penColor (void) const
void pointSize (unsigned int pointSize_)
unsigned int pointSize (void) const
void pointSize (unsigned int pointSize_)
unsigned int pointSize (void) const
void shadow (bool shadow_)
bool shadow (void) const
void shadow (bool shadow_)
bool shadow (void) const
void strokeColor (const Color &stroke_)
Color strokeColor (void) const
void strokeColor (const Color &stroke_)
Color strokeColor (void) const
void texture (const std::string &texture_)
std::string texture (void) const
void texture (const std::string &texture_)
std::string texture (void) const
void tile (const Geometry &tile_)
Geometry tile (void) const
void tile (const Geometry &tile_)
Geometry tile (void) const
void title (const std::string &title_)
std::string title (void) const
void title (const std::string &title_)
std::string title (void) const
void transparentColor (const Color &transparentColor_)
Color transparentColor (void) const
void transparentColor (const Color &transparentColor_)
Color transparentColor (void) const

Private Attributes

Color _borderColor
unsigned int _borderWidth
Geometry _frame
Color _matteColor

Constructor & Destructor Documentation

Magick::MontageFramed::MontageFramed void   ) 
 

Definition at line 41 of file Montage.cpp.

00042 : _borderColor("#dfdfdf"), 00043 _borderWidth(0), 00044 _frame(), 00045 _matteColor("#bdbdbd") 00046 { 00047 }

Magick::MontageFramed::~MontageFramed void   ) 
 

Definition at line 49 of file Montage.cpp.

00050 { 00051 // Nothing to do 00052 }

Magick::MontageFramed::MontageFramed void   ) 
 

Magick::MontageFramed::~MontageFramed void   ) 
 


Member Function Documentation

Color Magick::Montage::backgroundColor void   )  const [inherited]
 

void Magick::Montage::backgroundColor const Color backgroundColor_  )  [inherited]
 

Magick::Color Magick::Montage::backgroundColor void   )  const [inline, inherited]
 

Definition at line 156 of file Montage.h.

References Magick::Montage::_backgroundColor.

00157 { 00158 return _backgroundColor; 00159 }

void Magick::Montage::backgroundColor const Color backgroundColor_  )  [inline, inherited]
 

Definition at line 152 of file Montage.h.

References Magick::Montage::_backgroundColor.

Referenced by main().

00153 { 00154 _backgroundColor = backgroundColor_; 00155 }

Color Magick::MontageFramed::borderColor void   )  const
 

void Magick::MontageFramed::borderColor const Color borderColor_  ) 
 

Magick::Color Magick::MontageFramed::borderColor void   )  const [inline]
 

Definition at line 307 of file Montage.h.

References _borderColor.

00308 { 00309 return _borderColor; 00310 }

void Magick::MontageFramed::borderColor const Color borderColor_  )  [inline]
 

Definition at line 303 of file Montage.h.

References _borderColor.

Referenced by main().

00304 { 00305 _borderColor = borderColor_; 00306 }

unsigned int Magick::MontageFramed::borderWidth void   )  const
 

void Magick::MontageFramed::borderWidth unsigned int  borderWidth_  ) 
 

unsigned int Magick::MontageFramed::borderWidth void   )  const [inline]
 

Definition at line 316 of file Montage.h.

References _borderWidth.

00317 { 00318 return _borderWidth; 00319 }

void Magick::MontageFramed::borderWidth unsigned int  borderWidth_  )  [inline]
 

Definition at line 312 of file Montage.h.

References _borderWidth.

Referenced by main().

00313 { 00314 _borderWidth = borderWidth_; 00315 }

CompositeOperator Magick::Montage::compose void   )  const [inherited]
 

void Magick::Montage::compose CompositeOperator  compose_  )  [inherited]
 

Magick::CompositeOperator Magick::Montage::compose void   )  const [inline, inherited]
 

Definition at line 165 of file Montage.h.

References Magick::Montage::_compose.

00166 { 00167 return _compose; 00168 }

void Magick::Montage::compose CompositeOperator  compose_  )  [inline, inherited]
 

Definition at line 161 of file Montage.h.

References Magick::Montage::_compose.

Referenced by main().

00162 { 00163 _compose = compose_; 00164 }

std::string Magick::Montage::fileName void   )  const [inherited]
 

void Magick::Montage::fileName const std::string &  fileName_  )  [inherited]
 

std::string Magick::Montage::fileName void   )  const [inline, inherited]
 

Definition at line 174 of file Montage.h.

References Magick::Montage::_fileName.

00175 { 00176 return _fileName; 00177 }

void Magick::Montage::fileName const std::string &  fileName_  )  [inline, inherited]
 

Definition at line 170 of file Montage.h.

References Magick::Montage::_fileName.

Referenced by main().

00171 { 00172 _fileName = fileName_; 00173 }

Color Magick::Montage::fillColor void   )  const [inherited]
 

void Magick::Montage::fillColor const Color fill_  )  [inherited]
 

Magick::Color Magick::Montage::fillColor void   )  const [inline, inherited]
 

Definition at line 183 of file Montage.h.

References Magick::Montage::_fill.

00184 { 00185 return _fill; 00186 }

void Magick::Montage::fillColor const Color fill_  )  [inline, inherited]
 

Definition at line 179 of file Montage.h.

References Magick::Montage::_fill.

Referenced by main().

00180 { 00181 _fill=fill_; 00182 }

std::string Magick::Montage::font void   )  const [inherited]
 

void Magick::Montage::font const std::string &  font_  )  [inherited]
 

std::string Magick::Montage::font void   )  const [inline, inherited]
 

Definition at line 192 of file Montage.h.

References Magick::Montage::_font.

00193 { 00194 return _font; 00195 }

void Magick::Montage::font const std::string &  font_  )  [inline, inherited]
 

Definition at line 188 of file Montage.h.

References Magick::Montage::_font.

Referenced by main().

00189 { 00190 _font = font_; 00191 }

Geometry Magick::MontageFramed::frameGeometry void   )  const
 

void Magick::MontageFramed::frameGeometry const Geometry frame_  ) 
 

Magick::Geometry Magick::MontageFramed::frameGeometry void   )  const [inline]
 

Definition at line 325 of file Montage.h.

References _frame.

00326 { 00327 return _frame; 00328 }

void Magick::MontageFramed::frameGeometry const Geometry frame_  )  [inline]
 

Definition at line 321 of file Montage.h.

References _frame.

Referenced by main().

00322 { 00323 _frame = frame_; 00324 }

Geometry Magick::Montage::geometry void   )  const [inherited]
 

void Magick::Montage::geometry const Geometry geometry_  )  [inherited]
 

Magick::Geometry Magick::Montage::geometry void   )  const [inline, inherited]
 

Definition at line 201 of file Montage.h.

References Magick::Montage::_geometry.

00202 { 00203 return _geometry; 00204 }

void Magick::Montage::geometry const Geometry geometry_  )  [inline, inherited]
 

Definition at line 197 of file Montage.h.

References Magick::Montage::_geometry.

Referenced by main().

00198 { 00199 _geometry = geometry_; 00200 }

GravityType Magick::Montage::gravity void   )  const [inherited]
 

void Magick::Montage::gravity GravityType  gravity_  )  [inherited]
 

Magick::GravityType Magick::Montage::gravity void   )  const [inline, inherited]
 

Definition at line 210 of file Montage.h.

References Magick::Montage::_gravity.

00211 { 00212 return _gravity; 00213 }

void Magick::Montage::gravity GravityType  gravity_  )  [inline, inherited]
 

Definition at line 206 of file Montage.h.

References Magick::Montage::_gravity.

Referenced by main().

00207 { 00208 _gravity = gravity_; 00209 }

std::string Magick::Montage::label void   )  const [inherited]
 

void Magick::Montage::label const std::string &  label_  )  [inherited]
 

std::string Magick::Montage::label void   )  const [inline, inherited]
 

Definition at line 220 of file Montage.h.

References Magick::Montage::_label.

00221 { 00222 return _label; 00223 }

void Magick::Montage::label const std::string &  label_  )  [inline, inherited]
 

Definition at line 216 of file Montage.h.

References Magick::Montage::_label.

Referenced by Magick::montageImages().

00217 { 00218 _label = label_; 00219 }

Color Magick::MontageFramed::matteColor void   )  const
 

void Magick::MontageFramed::matteColor const Color matteColor_  ) 
 

Magick::Color Magick::MontageFramed::matteColor void   )  const [inline]
 

Definition at line 334 of file Montage.h.

References _matteColor.

00335 { 00336 return _matteColor; 00337 }

void Magick::MontageFramed::matteColor const Color matteColor_  )  [inline]
 

Definition at line 330 of file Montage.h.

References _matteColor.

00331 { 00332 _matteColor = matteColor_; 00333 }

Color Magick::Montage::penColor void   )  const [inherited]
 

void Magick::Montage::penColor const Color pen_  )  [inherited]
 

Magick::Color Magick::Montage::penColor void   )  const [inline, inherited]
 

Definition at line 230 of file Montage.h.

References Magick::Montage::_fill.

00231 { 00232 return _fill; 00233 }

void Magick::Montage::penColor const Color pen_  )  [inline, inherited]
 

Definition at line 225 of file Montage.h.

References Magick::Montage::_fill, Magick::Montage::_stroke, and Magick::Color.

Referenced by main().

00226 { 00227 _fill=pen_; 00228 _stroke=Color("none"); 00229 }

unsigned int Magick::Montage::pointSize void   )  const [inherited]
 

void Magick::Montage::pointSize unsigned int  pointSize_  )  [inherited]
 

unsigned int Magick::Montage::pointSize void   )  const [inline, inherited]
 

Definition at line 239 of file Montage.h.

References Magick::Montage::_pointSize.

00240 { 00241 return _pointSize; 00242 }

void Magick::Montage::pointSize unsigned int  pointSize_  )  [inline, inherited]
 

Definition at line 235 of file Montage.h.

References Magick::Montage::_pointSize.

Referenced by main().

00236 { 00237 _pointSize = pointSize_; 00238 }

bool Magick::Montage::shadow void   )  const [inherited]
 

void Magick::Montage::shadow bool  shadow_  )  [inherited]
 

bool Magick::Montage::shadow void   )  const [inline, inherited]
 

Definition at line 248 of file Montage.h.

References Magick::Montage::_shadow.

00249 { 00250 return _shadow; 00251 }

void Magick::Montage::shadow bool  shadow_  )  [inline, inherited]
 

Definition at line 244 of file Montage.h.

References Magick::Montage::_shadow.

Referenced by main().

00245 { 00246 _shadow = shadow_; 00247 }

Color Magick::Montage::strokeColor void   )  const [inherited]
 

void Magick::Montage::strokeColor const Color stroke_  )  [inherited]
 

Magick::Color Magick::Montage::strokeColor void   )  const [inline, inherited]
 

Definition at line 257 of file Montage.h.

References Magick::Montage::_stroke.

00258 { 00259 return _stroke; 00260 }

void Magick::Montage::strokeColor const Color stroke_  )  [inline, inherited]
 

Definition at line 253 of file Montage.h.

References Magick::Montage::_stroke.

Referenced by main().

00254 { 00255 _stroke=stroke_; 00256 }

std::string Magick::Montage::texture void   )  const [inherited]
 

void Magick::Montage::texture const std::string &  texture_  )  [inherited]
 

std::string Magick::Montage::texture void   )  const [inline, inherited]
 

Definition at line 266 of file Montage.h.

References Magick::Montage::_texture.

00267 { 00268 return _texture; 00269 }

void Magick::Montage::texture const std::string &  texture_  )  [inline, inherited]
 

Definition at line 262 of file Montage.h.

References Magick::Montage::_texture.

Referenced by main().

00263 { 00264 _texture = texture_; 00265 }

Geometry Magick::Montage::tile void   )  const [inherited]
 

void Magick::Montage::tile const Geometry tile_  )  [inherited]
 

Magick::Geometry Magick::Montage::tile void   )  const [inline, inherited]
 

Definition at line 275 of file Montage.h.

References Magick::Montage::_tile.

00276 { 00277 return _tile; 00278 }

void Magick::Montage::tile const Geometry tile_  )  [inline, inherited]
 

Definition at line 271 of file Montage.h.

References Magick::Montage::_tile.

Referenced by main().

00272 { 00273 _tile = tile_; 00274 }

std::string Magick::Montage::title void   )  const [inherited]
 

void Magick::Montage::title const std::string &  title_  )  [inherited]
 

std::string Magick::Montage::title void   )  const [inline, inherited]
 

Definition at line 284 of file Montage.h.

References Magick::Montage::_title.

00285 { 00286 return _title; 00287 }

void Magick::Montage::title const std::string &  title_  )  [inline, inherited]
 

Definition at line 280 of file Montage.h.

References Magick::Montage::_title.

00281 { 00282 _title = title_; 00283 }

Color Magick::Montage::transparentColor void   )  const [inherited]
 

void Magick::Montage::transparentColor const Color transparentColor_  )  [inherited]
 

Magick::Color Magick::Montage::transparentColor void   )  const [inline, inherited]
 

Definition at line 294 of file Montage.h.

References Magick::Montage::_transparentColor.

00295 { 00296 return _transparentColor; 00297 }

void Magick::Montage::transparentColor const Color transparentColor_  )  [inline, inherited]
 

Definition at line 290 of file Montage.h.

References Magick::Montage::_transparentColor.

Referenced by Magick::montageImages().

00291 { 00292 _transparentColor = transparentColor_; 00293 }

void Magick::MontageFramed::updateMontageInfo MagickLib::MontageInfo montageInfo_  )  const [virtual]
 

Reimplemented from Magick::Montage.

void Magick::MontageFramed::updateMontageInfo MagickLib::MontageInfo montageInfo_  )  const [virtual]
 

Reimplemented from Magick::Montage.

Definition at line 118 of file Montage.cpp.

References _borderColor, _borderWidth, _frame, _matteColor, _MontageInfo::border_color, _MontageInfo::border_width, Magick::CloneString(), _MontageInfo::frame, Magick::Geometry::isValid(), _MontageInfo::matte_color, MontageInfo, RelinquishMagickMemory(), and updateMontageInfo().

Referenced by updateMontageInfo().

00119 { 00120 // Do base updates 00121 Montage::updateMontageInfo ( montageInfo_ ); 00122 00123 // border_color 00124 montageInfo_.border_color = _borderColor; 00125 // border_width 00126 montageInfo_.border_width = _borderWidth; 00127 // frame 00128 if ( _frame.isValid() ) 00129 Magick::CloneString( &montageInfo_.frame, _frame ); 00130 else 00131 montageInfo_.frame=(char *) RelinquishMagickMemory(montageInfo_.frame); 00132 // matte_color 00133 montageInfo_.matte_color = _matteColor; 00134 }

Here is the call graph for this function:


Field Documentation

Color Magick::MontageFramed::_borderColor [private]
 

Definition at line 137 of file Montage.h.

Referenced by borderColor(), and updateMontageInfo().

unsigned int Magick::MontageFramed::_borderWidth [private]
 

Definition at line 138 of file Montage.h.

Referenced by