18 #if !defined(Magick_Drawable_header)
19 #define Magick_Drawable_header
30 #if defined(MagickDLLExplicitTemplate)
31 # if defined(MAGICK_PLUSPLUS_IMPLEMENTATION)
32 # define MagickDrawableExtern
34 # pragma warning( disable: 4231 ) // Disable warning regarding using extern
35 # define MagickDrawableExtern extern
36 # endif // MAGICK_PLUSPLUS_IMPLEMENTATION
38 # define MagickDrawableExtern
39 #endif // MagickDLLExplicitTemplate
65 double x (
void )
const
74 double y (
void )
const
86 #if defined(MagickDLLExplicitTemplate)
89 std::allocator<Magick::Coordinate>;
94 #endif // MagickDLLExplicitTemplate
115 public std::unary_function<MagickCore::DrawingWand,void>
126 virtual void operator()( MagickCore::DrawingWand *)
const = 0;
137 #undef Drawable // Conflict with <X11/Xproto.h>
158 void operator()( MagickCore::DrawingWand *context_ )
const;
180 #if defined(MagickDLLExplicitTemplate)
183 std::allocator<Magick::Drawable>;
188 #endif // MagickDLLExplicitTemplate
208 virtual void operator()( MagickCore::DrawingWand *context_ )
const = 0;
229 virtual ~
VPath (
void );
238 void operator()( MagickCore::DrawingWand *context_ )
const;
246 const VPath& right_ );
248 const VPath& right_ );
250 const VPath& right_ );
252 const VPath& right_ );
254 const VPath& right_ );
256 const VPath& right_ );
260 #if defined(MagickDLLExplicitTemplate)
263 std::allocator<Magick::VPath>;
268 #endif // MagickDLLExplicitTemplate
279 double rx_,
double ry_,
280 double tx_,
double ty_ );
287 void operator()( MagickCore::DrawingWand *context_ )
const;
293 void sx(
const double sx_ )
297 double sx(
void )
const
302 void sy(
const double sy_ )
306 double sy(
void )
const
311 void rx(
const double rx_ )
315 double rx(
void )
const
320 void ry(
const double ry_ )
324 double ry(
void )
const
329 void tx(
const double tx_ )
333 double tx(
void )
const
338 void ty(
const double ty_ )
342 double ty(
void )
const
348 MagickCore::AffineMatrix _affine;
356 double endX_,
double endY_,
357 double startDegrees_,
double endDegrees_ )
362 _startDegrees(startDegrees_),
363 _endDegrees(endDegrees_)
369 void operator()( MagickCore::DrawingWand *context_ )
const;
412 _startDegrees = startDegrees_;
416 return _startDegrees;
421 _endDegrees = endDegrees_;
433 double _startDegrees;
451 void operator()( MagickCore::DrawingWand *context_ )
const;
457 CoordinateList _coordinates;
473 void operator()( MagickCore::DrawingWand *context_ )
const;
493 void operator()( MagickCore::DrawingWand *context_ )
const;
512 void operator()( MagickCore::DrawingWand *context_ )
const;
535 double perimX_,
double perimY_ )
536 : _originX(originX_),
546 void operator()( MagickCore::DrawingWand *context_ )
const;
599 PaintMethod paintMethod_ )
602 _paintMethod(paintMethod_)
608 void operator()( MagickCore::DrawingWand *context_ )
const;
617 double x(
void )
const
626 double y(
void )
const
633 _paintMethod = paintMethod_;
643 PaintMethod _paintMethod;
652 const std::string &filename_ );
655 const Image &image_ );
658 double width_,
double height_,
659 const std::string &filename_ );
662 double width_,
double height_,
663 const Image &image_ );
666 double width_,
double height_,
667 const std::string &filename_,
668 CompositeOperator composition_ );
671 double width_,
double height_,
673 CompositeOperator composition_ );
686 void operator()( MagickCore::DrawingWand *context_ )
const;
693 _composition = composition_;
700 void filename(
const std::string &image_ );
701 std::string filename(
void )
const;
707 double x(
void )
const
716 double y(
void )
const
739 void image(
const Image &image_ );
743 void magick( std::string magick_ );
744 std::string magick(
void );
747 CompositeOperator _composition;
764 void operator()(MagickCore::DrawingWand *context_)
const;
769 std::string _density;
777 double radiusX_,
double radiusY_,
778 double arcStart_,
double arcEnd_ )
779 : _originX(originX_),
783 _arcStart(arcStart_),
790 void operator()( MagickCore::DrawingWand *context_ )
const;
833 _arcStart = arcStart_;
869 void operator()( MagickCore::DrawingWand *context_ )
const;
892 : _fillRule(fillRule_)
899 void operator()( MagickCore::DrawingWand *context_ )
const;
906 _fillRule = fillRule_;
929 void operator()( MagickCore::DrawingWand *context_ )
const;
955 const unsigned int weight_,
956 StretchType stretch_ );
962 void operator()( MagickCore::DrawingWand *context_ )
const;
967 void font(
const std::string &font_ )
980 unsigned int _weight;
981 StretchType _stretch;
996 void operator()( MagickCore::DrawingWand *context_ )
const;
1003 _gravity = gravity_;
1011 GravityType _gravity;
1019 double endX_,
double endY_ )
1029 void operator()( MagickCore::DrawingWand *context_ )
const;
1082 PaintMethod paintMethod_ )
1085 _paintMethod(paintMethod_)
1091 void operator()( MagickCore::DrawingWand *context_ )
const;
1100 double x(
void )
const
1109 double y(
void )
const
1116 _paintMethod = paintMethod_;
1120 return _paintMethod;
1126 PaintMethod _paintMethod;
1140 void operator()( MagickCore::DrawingWand *context_ )
const;
1161 void operator()( MagickCore::DrawingWand *context_ )
const;
1170 double x(
void )
const
1179 double y(
void )
const
1194 : _pointSize(pointSize_)
1200 void operator()( MagickCore::DrawingWand *context_ )
const;
1207 _pointSize = pointSize_;
1229 void operator()( MagickCore::DrawingWand *context_ )
const;
1235 CoordinateList _coordinates;
1249 void operator()( MagickCore::DrawingWand *context_ )
const;
1255 CoordinateList _coordinates;
1270 void operator()( MagickCore::DrawingWand *context_ )
const;
1291 void operator()( MagickCore::DrawingWand *context_ )
const;
1312 void operator()( MagickCore::DrawingWand *context_ )
const;
1326 size_t width_,
size_t height_ );
1333 void operator()( MagickCore::DrawingWand *context_ )
const;
1351 double lowerRightX_,
double lowerRightY_ )
1352 : _upperLeftX(upperLeftX_),
1353 _upperLeftY(upperLeftY_),
1354 _lowerRightX(lowerRightX_),
1355 _lowerRightY(lowerRightY_)
1361 void operator()( MagickCore::DrawingWand *context_ )
const;
1368 _upperLeftX = upperLeftX_;
1377 _upperLeftY = upperLeftY_;
1386 _lowerRightX = lowerRightX_;
1390 return _lowerRightX;
1395 _lowerRightY = lowerRightY_;
1399 return _lowerRightY;
1405 double _lowerRightX;
1406 double _lowerRightY;
1420 void operator()( MagickCore::DrawingWand *context_ )
const;
1443 double width_,
double hight_,
1444 double cornerWidth_,
double cornerHeight_ )
1445 : _centerX(centerX_),
1449 _cornerWidth(cornerWidth_),
1450 _cornerHeight(cornerHeight_)
1456 void operator()( MagickCore::DrawingWand *context_ )
const;
1463 _centerX = centerX_;
1472 _centerY = centerY_;
1499 _cornerWidth = cornerWidth_;
1503 return _cornerWidth;
1508 _cornerHeight = cornerHeight_;
1512 return _cornerHeight;
1520 double _cornerWidth;
1521 double _cornerHeight;
1536 void operator()( MagickCore::DrawingWand *context_ )
const;
1545 double x(
void )
const
1554 double y(
void )
const
1575 void operator()( MagickCore::DrawingWand *context_ )
const;
1604 void operator()( MagickCore::DrawingWand *context_ )
const;
1637 void operator()( MagickCore::DrawingWand *context_ )
const;
1642 void dasharray(
const double* dasharray_ );
1643 void dasharray(
const size_t* dasharray_ );
1668 void operator()( MagickCore::DrawingWand *context_ )
const;
1691 : _linecap(linecap_)
1697 void operator()( MagickCore::DrawingWand *context_ )
const;
1704 _linecap = linecap_;
1720 : _linejoin(linejoin_)
1726 void operator()( MagickCore::DrawingWand *context_ )
const;
1733 _linejoin = linejoin_;
1749 : _miterlimit(miterlimit_)
1755 void operator()( MagickCore::DrawingWand *context_ )
const;
1762 _miterlimit = miterlimit_;
1785 void operator()( MagickCore::DrawingWand *context_ )
const;
1814 void operator()( MagickCore::DrawingWand *context_ )
const;
1837 : _opacity(opacity_)
1844 void operator()( MagickCore::DrawingWand *context_ )
const;
1851 _opacity = opacity_;
1873 void operator()( MagickCore::DrawingWand *context_ )
const;
1896 const std::string &text_ );
1898 const std::string &text_,
const std::string &encoding_);
1905 void operator()( MagickCore::DrawingWand *context_ )
const;
1912 _encoding = encoding_;
1919 double x(
void )
const
1928 double y(
void )
const
1933 void text(
const std::string &text_ )
1946 std::string _encoding;
1960 void operator()( MagickCore::DrawingWand *context_ )
const;
1989 void operator()( MagickCore::DrawingWand *context_ )
const;
1996 _decoration = decoration_;
2004 DecorationType _decoration;
2016 void operator()(MagickCore::DrawingWand *context_)
const;
2018 void direction(DirectionType direction_);
2019 DirectionType direction(
void)
const;
2024 DirectionType _direction;
2036 void operator()(MagickCore::DrawingWand *context_)
const;
2038 void spacing(
double spacing_);
2039 double spacing(
void)
const;
2056 void operator()(MagickCore::DrawingWand *context_)
const;
2058 void spacing(
double spacing_);
2059 double spacing(
void)
const;
2076 void operator()(MagickCore::DrawingWand *context_)
const;
2078 void kerning(
double kerning_);
2079 double kerning(
void)
const;
2098 void operator()( MagickCore::DrawingWand *context_ )
const;
2128 void operator()( MagickCore::DrawingWand *context_ )
const;
2137 double x(
void )
const
2146 double y(
void )
const
2161 ::ssize_t x2_, ::ssize_t y2_)
2170 void operator()( MagickCore::DrawingWand *context_ )
const;
2180 ::ssize_t
x1(
void )
const
2189 ::ssize_t
y1(
void )
const
2198 ::ssize_t
x2(
void )
const
2207 ::ssize_t
y2(
void )
const
2228 double xAxisRotation_,
bool largeArcFlag_,
2229 bool sweepFlag_,
double x_,
double y_ );
2237 _radiusX = radiusX_;
2246 _radiusY = radiusY_;
2255 _xAxisRotation = xAxisRotation_;
2259 return _xAxisRotation;
2264 _largeArcFlag = largeArcFlag_;
2268 return _largeArcFlag;
2273 _sweepFlag = sweepFlag_;
2284 double x(
void )
const
2293 double y(
void )
const
2301 double _xAxisRotation;
2310 const PathArcArgs& right_ );
2312 const PathArcArgs& right_ );
2314 const PathArcArgs& right_ );
2316 const PathArcArgs& right_ );
2318 const PathArcArgs& right_ );
2320 const PathArcArgs& right_ );
2324 #if defined(MagickDLLExplicitTemplate)
2327 std::allocator<Magick::PathArcArgs>;
2332 #endif // MagickDLLExplicitTemplate
2342 PathArcAbs (
const PathArcArgsList &coordinates_ );
2351 void operator()( MagickCore::DrawingWand *context_ )
const;
2357 PathArcArgsList _coordinates;
2366 PathArcRel (
const PathArcArgsList &coordinates_ );
2373 void operator()( MagickCore::DrawingWand *context_ )
const;
2379 PathArcArgsList _coordinates;
2394 void operator()( MagickCore::DrawingWand *context_ )
const;
2412 double x2_,
double y2_,
2413 double x_,
double y_ );
2459 double x(
void )
const
2468 double y(
void )
const
2484 const PathCurvetoArgs& right_ );
2486 const PathCurvetoArgs& right_ );
2488 const PathCurvetoArgs& right_ );
2490 const PathCurvetoArgs& right_ );
2492 const PathCurvetoArgs& right_ );
2494 const PathCurvetoArgs& right_ );
2498 #if defined(MagickDLLExplicitTemplate)
2501 std::allocator<Magick::PathCurvetoArgs>;
2506 #endif // MagickDLLExplicitTemplate
2524 void operator()( MagickCore::DrawingWand *context_ )
const;
2530 PathCurveToArgsList _args;
2547 void operator()( MagickCore::DrawingWand *context_ )
const;
2553 PathCurveToArgsList _args;
2570 void operator()( MagickCore::DrawingWand *context_ )
const;
2577 CoordinateList _coordinates;
2595 void operator()( MagickCore::DrawingWand *context_ )
const;
2602 CoordinateList _coordinates;
2614 double x_,
double y_ );
2642 double x(
void )
const
2651 double y(
void )
const
2665 const PathQuadraticCurvetoArgs& right_ );
2667 const PathQuadraticCurvetoArgs& right_);
2669 const PathQuadraticCurvetoArgs& right_);
2671 const PathQuadraticCurvetoArgs& right_);
2673 const PathQuadraticCurvetoArgs& right_ );
2675 const PathQuadraticCurvetoArgs& right_ );
2679 #if defined(MagickDLLExplicitTemplate)
2682 std::allocator<Magick::PathQuadraticCurvetoArgs>;
2687 #endif // MagickDLLExplicitTemplate
2705 void operator()( MagickCore::DrawingWand *context_ )
const;
2711 PathQuadraticCurvetoArgsList _args;
2729 void operator()( MagickCore::DrawingWand *context_ )
const;
2735 PathQuadraticCurvetoArgsList _args;
2753 void operator()( MagickCore::DrawingWand *context_ )
const;
2759 CoordinateList _coordinates;
2777 void operator()( MagickCore::DrawingWand *context_ )
const;
2783 CoordinateList _coordinates;
2805 void operator()( MagickCore::DrawingWand *context_ )
const;
2811 CoordinateList _coordinates;
2829 void operator()( MagickCore::DrawingWand *context_ )
const;
2835 CoordinateList _coordinates;
2850 void operator()( MagickCore::DrawingWand *context_ )
const;
2859 double x(
void )
const
2878 void operator()( MagickCore::DrawingWand *context_ )
const;
2887 double x(
void )
const
2908 void operator()( MagickCore::DrawingWand *context_ )
const;
2917 double y(
void )
const
2936 void operator()( MagickCore::DrawingWand *context_ )
const;
2945 double y(
void )
const
2971 void operator()( MagickCore::DrawingWand *context_ )
const;
2977 CoordinateList _coordinates;
2995 void operator()( MagickCore::DrawingWand *context_ )
const;
3001 CoordinateList _coordinates;
3006 #endif // Magick_Drawable_header
std::list< Magick::Coordinate > CoordinateList
double offset(void) const
DrawableMatte(double x_, double y_, PaintMethod paintMethod_)
void upperLeftY(double upperLeftY_)
MagickPPExport int operator!=(const Magick::Color &left_, const Magick::Color &right_)
double startY(void) const
void composition(CompositeOperator composition_)
PathLinetoVerticalRel(double y_)
void ty(const double ty_)
void centerX(double centerX_)
DrawableStrokeAntialias(bool flag_)
DrawableRectangle(double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_)
double radiusY(void) const
std::list< Magick::Drawable > DrawableList
void font(const std::string &font_)
PathLinetoHorizontalRel(double x_)
DrawablePoint(double x_, double y_)
std::list< Magick::VPath > VPathList
DrawableEllipse(double originX_, double originY_, double radiusX_, double radiusY_, double arcStart_, double arcEnd_)
DrawablePopGraphicContext(void)
void width(double width_)
double xAxisRotation(void) const
Coordinate(double x_, double y_)
double opacity(void) const
void angle(double angle_)
double originY(void) const
double pointSize(void) const
LineCap linecap(void) const
DrawableArc(double startX_, double startY_, double endX_, double endY_, double startDegrees_, double endDegrees_)
void color(const Color &color_)
void tx(const double tx_)
double endDegrees(void) const
double arcEnd(void) const
double radiusX(void) const
double originX(void) const
std::string text(void) const
void largeArcFlag(bool largeArcFlag_)
void linejoin(LineJoin linejoin_)
PaintMethod paintMethod(void) const
double cornerWidth(void) const
PathLinetoHorizontalAbs(double x_)
MagickPPExport int operator<(const Magick::Color &left_, const Magick::Color &right_)
PaintMethod paintMethod(void) const
double centerY(void) const
void startDegrees(double startDegrees_)
double lowerRightY(void) const
double lowerRightX(void) const
DrawablePushGraphicContext(void)
void fillRule(const FillRule fillRule_)
void sweepFlag(bool sweepFlag_)
DrawableStrokeLineJoin(LineJoin linejoin_)
double originX(void) const
void color(const Color &color_)
std::list< Magick::PathQuadraticCurvetoArgs > PathQuadraticCurvetoArgsList
void opacity(double opacity_)
double centerX(void) const
void perimY(double perimY_)
size_t miterlimit(void) const
void startX(double startX_)
MagickPPExport int operator<=(const Magick::Color &left_, const Magick::Color &right_)
double originY(void) const
void xAxisRotation(double xAxisRotation_)
void paintMethod(PaintMethod paintMethod_)
MagickPPExport int operator>=(const Magick::Color &left_, const Magick::Color &right_)
void decoration(DecorationType decoration_)
void radiusX(double radiusX_)
void paintMethod(PaintMethod paintMethod_)
DrawableTranslation(double x_, double y_)
void lowerRightY(double lowerRightY_)
void encoding(const std::string &encoding_)
void startY(double startY_)
void gravity(GravityType gravity_)
DrawableGravity(GravityType gravity_)
DrawableStrokeOpacity(double opacity_)
DrawableScaling(double x_, double y_)
DrawableDashOffset(const double offset_)
void offset(const double offset_)
PathLinetoVerticalAbs(double y_)
double opacity(void) const
DrawableSkewX(double angle_)
void arcEnd(double arcEnd_)
std::string clip_path(void) const
DrawableCircle(double originX_, double originY_, double perimX_, double perimY_)
void originX(double originX_)
void miterlimit(size_t miterlimit_)
DrawableStrokeLineCap(LineCap linecap_)
void sy(const double sy_)
void width(double width_)
bool sweepFlag(void) const
std::string font(void) const
void sx(const double sx_)
void startX(double startX_)
double upperLeftY(void) const
void radiusY(double radiusY_)
DrawableSkewY(double angle_)
DrawableRoundRectangle(double centerX_, double centerY_, double width_, double hight_, double cornerWidth_, double cornerHeight_)
bool largeArcFlag(void) const
void centerY(double centerY_)
void originY(double originY_)
#define MagickDrawableExtern
std::list< Magick::PathCurvetoArgs > PathCurveToArgsList
FillRule fillRule(void) const
void color(const Color &color_)
DrawableLine(double startX_, double startY_, double endX_, double endY_)
DrawableStrokeWidth(double width_)
void linecap(LineCap linecap_)
std::list< Magick::PathArcArgs > PathArcArgsList
void height(double height_)
void rx(const double rx_)
void text(const std::string &text_)
DrawableRotation(double angle_)
double startDegrees(void) const
DecorationType decoration(void) const
const double * dasharray(void) const
double cornerHeight(void) const
void endDegrees(double endDegrees_)
void width(double width_)
DrawableMiterLimit(size_t miterlimit_)
double arcStart(void) const
void radiusX(double radiusX_)
LineJoin linejoin(void) const
void angle(double angle_)
DrawablePopClipPath(void)
double perimX(void) const
void startY(double startY_)
double radiusX(void) const
double height(void) const
void cornerHeight(double cornerHeight_)
DrawablePointSize(double pointSize_)
double perimY(void) const
void perimX(double perimX_)
void cornerWidth(double cornerWidth_)
void ry(const double ry_)
DrawableViewbox(::ssize_t x1_,::ssize_t y1_,::ssize_t x2_,::ssize_t y2_)
MagickPPExport int operator>(const Magick::Color &left_, const Magick::Color &right_)
void clip_path(const std::string &id_)
MagickPPExport int operator==(const Magick::Color &left_, const Magick::Color &right_)
class MagickPPExport Image
void pointSize(double pointSize_)
double upperLeftX(void) const
double startX(void) const
void originX(double originX_)
DrawableFillOpacity(double opacity_)
void arcStart(double arcStart_)
void angle(double angle_)
void hight(double hight_)
void lowerRightX(double lowerRightX_)
double startY(void) const
void opacity(double opacity_)
DrawableFillRule(const FillRule fillRule_)
CompositeOperator composition(void) const
double startX(void) const
double radiusY(void) const
DrawableColor(double x_, double y_, PaintMethod paintMethod_)
void radiusY(double radiusY_)
void originY(double originY_)
void upperLeftX(double upperLeftX_)
GravityType gravity(void) const