20 #if !defined(Magick_Drawable_header) 21 #define Magick_Drawable_header 32 #if defined(MagickDLLExplicitTemplate) 33 # if defined(MAGICK_PLUSPLUS_IMPLEMENTATION) 34 # define MagickDrawableExtern 36 # pragma warning( disable: 4231 ) // Disable warning regarding using extern 37 # define MagickDrawableExtern extern 38 # endif // MAGICK_PLUSPLUS_IMPLEMENTATION 40 # define MagickDrawableExtern 41 #endif // MagickDLLExplicitTemplate 62 void x(
double x_) { _x=x_; }
63 double x(
void)
const {
return _x; }
65 void y(
double y_) { _y=y_; }
66 double y(
void)
const {
return _y; }
75 #if defined(MagickDLLExplicitTemplate) 78 std::allocator<Magick::Coordinate>;
80 #endif // MagickDLLExplicitTemplate 110 virtual void operator()(MagickCore::DrawingWand *)
const;
119 #undef Drawable // Conflict with <X11/Xproto.h> 140 void operator()(MagickCore::DrawingWand *)
const;
148 #if defined(MagickDLLExplicitTemplate) 151 std::allocator<Magick::Drawable>;
153 #endif // MagickDLLExplicitTemplate 173 virtual void operator()( MagickCore::DrawingWand *context_ )
const = 0;
194 virtual ~
VPath (
void );
203 void operator()( MagickCore::DrawingWand *context_ )
const;
211 #if defined(MagickDLLExplicitTemplate) 214 std::allocator<Magick::VPath>;
219 #endif // MagickDLLExplicitTemplate 230 double rx_,
double ry_,
231 double tx_,
double ty_ );
238 void operator()( MagickCore::DrawingWand *context_ )
const;
244 void sx(
const double sx_ )
248 double sx(
void )
const 253 void sy(
const double sy_ )
257 double sy(
void )
const 262 void rx(
const double rx_ )
266 double rx(
void )
const 271 void ry(
const double ry_ )
275 double ry(
void )
const 280 void tx(
const double tx_ )
284 double tx(
void )
const 289 void ty(
const double ty_ )
293 double ty(
void )
const 299 MagickCore::AffineMatrix _affine;
310 _paintMethod(paintMethod_)
317 void operator()(MagickCore::DrawingWand *context_)
const;
344 _paintMethod=paintMethod_;
349 return(_paintMethod);
356 PaintMethod _paintMethod;
364 double endX_,
double endY_,
365 double startDegrees_,
double endDegrees_ )
370 _startDegrees(startDegrees_),
371 _endDegrees(endDegrees_)
377 void operator()( MagickCore::DrawingWand *context_ )
const;
420 _startDegrees = startDegrees_;
424 return _startDegrees;
429 _endDegrees = endDegrees_;
441 double _startDegrees;
459 void operator()( MagickCore::DrawingWand *context_ )
const;
480 void operator()(MagickCore::DrawingWand *context_)
const;
482 void color(
const Color &color_);
483 Color color(
void)
const;
502 void operator()(MagickCore::DrawingWand *context_)
const;
504 void fillRule(
const FillRule fillRule_);
505 FillRule fillRule(
void)
const;
524 void operator()(MagickCore::DrawingWand *context_)
const;
526 void units(
const ClipPathUnits units_);
527 ClipPathUnits units(
void)
const;
533 ClipPathUnits _units;
548 void operator()( MagickCore::DrawingWand *context_ )
const;
568 void operator()( MagickCore::DrawingWand *context_ )
const;
587 void operator()( MagickCore::DrawingWand *context_ )
const;
610 double perimX_,
double perimY_ )
611 : _originX(originX_),
621 void operator()( MagickCore::DrawingWand *context_ )
const;
674 PaintMethod paintMethod_ )
677 _paintMethod(paintMethod_)
683 void operator()( MagickCore::DrawingWand *context_ )
const;
692 double x(
void )
const 701 double y(
void )
const 708 _paintMethod = paintMethod_;
718 PaintMethod _paintMethod;
727 const std::string &filename_ );
730 const Image &image_ );
733 double width_,
double height_,
734 const std::string &filename_ );
737 double width_,
double height_,
738 const Image &image_ );
741 double width_,
double height_,
742 const std::string &filename_,
743 CompositeOperator composition_ );
746 double width_,
double height_,
748 CompositeOperator composition_ );
761 void operator()( MagickCore::DrawingWand *context_ )
const;
768 _composition = composition_;
775 void filename(
const std::string &image_ );
776 std::string filename(
void )
const;
782 double x(
void )
const 791 double y(
void )
const 814 void image(
const Image &image_ );
818 void magick( std::string magick_ );
819 std::string magick(
void );
822 CompositeOperator _composition;
841 void operator()(MagickCore::DrawingWand *context_)
const;
846 std::string _density;
854 double radiusX_,
double radiusY_,
855 double arcStart_,
double arcEnd_ )
856 : _originX(originX_),
860 _arcStart(arcStart_),
867 void operator()( MagickCore::DrawingWand *context_ )
const;
910 _arcStart = arcStart_;
946 void operator()( MagickCore::DrawingWand *context_ )
const;
979 void operator()(MagickCore::DrawingWand *context_)
const;
981 void url(
const std::string &url_);
982 std::string url(
void)
const;
996 : _fillRule(fillRule_)
1003 void operator()( MagickCore::DrawingWand *context_ )
const;
1010 _fillRule = fillRule_;
1027 : _opacity(opacity_)
1034 void operator()(MagickCore::DrawingWand *context_)
const;
1061 const unsigned int weight_,
1062 StretchType stretch_ );
1068 void operator()( MagickCore::DrawingWand *context_ )
const;
1073 void font(
const std::string &font_ )
1084 std::string _family;
1086 unsigned int _weight;
1087 StretchType _stretch;
1095 : _gravity(gravity_)
1102 void operator()( MagickCore::DrawingWand *context_ )
const;
1109 _gravity = gravity_;
1117 GravityType _gravity;
1125 double endX_,
double endY_ )
1135 void operator()( MagickCore::DrawingWand *context_ )
const;
1194 void operator()( MagickCore::DrawingWand *context_ )
const;
1215 void operator()( MagickCore::DrawingWand *context_ )
const;
1224 double x(
void )
const 1233 double y(
void )
const 1248 : _pointSize(pointSize_)
1254 void operator()( MagickCore::DrawingWand *context_ )
const;
1261 _pointSize = pointSize_;
1283 void operator()( MagickCore::DrawingWand *context_ )
const;
1303 void operator()( MagickCore::DrawingWand *context_ )
const;
1324 void operator()( MagickCore::DrawingWand *context_ )
const;
1345 void operator()( MagickCore::DrawingWand *context_ )
const;
1366 void operator()( MagickCore::DrawingWand *context_ )
const;
1380 size_t width_,
size_t height_ );
1387 void operator()( MagickCore::DrawingWand *context_ )
const;
1405 double lowerRightX_,
double lowerRightY_ )
1406 : _upperLeftX(upperLeftX_),
1407 _upperLeftY(upperLeftY_),
1408 _lowerRightX(lowerRightX_),
1409 _lowerRightY(lowerRightY_)
1415 void operator()( MagickCore::DrawingWand *context_ )
const;
1422 _upperLeftX = upperLeftX_;
1431 _upperLeftY = upperLeftY_;
1440 _lowerRightX = lowerRightX_;
1444 return _lowerRightX;
1449 _lowerRightY = lowerRightY_;
1453 return _lowerRightY;
1459 double _lowerRightX;
1460 double _lowerRightY;
1474 void operator()( MagickCore::DrawingWand *context_ )
const;
1497 double lowerRightX_,
double lowerRightY_,
1498 double cornerWidth_,
double cornerHeight_ )
1499 : _upperLeftX(upperLeftX_),
1500 _upperLeftY(upperLeftY_),
1501 _lowerRightX(lowerRightX_),
1502 _lowerRightY(lowerRightY_),
1503 _cornerWidth(cornerWidth_),
1504 _cornerHeight(cornerHeight_)
1510 void operator()( MagickCore::DrawingWand *context_ )
const;
1515 #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) 1519 _upperLeftX = centerX_;
1528 _upperLeftY = centerY_;
1537 _lowerRightX = width_;
1541 return _lowerRightX;
1546 _lowerRightY = hight_;
1550 return _lowerRightY;
1557 _upperLeftX = upperLeftX_;
1566 _upperLeftY = upperLeftY_;
1575 _lowerRightX = lowerRightX_;
1579 return _lowerRightX;
1584 _lowerRightY = lowerRightY_;
1588 return _lowerRightY;
1593 _cornerWidth = cornerWidth_;
1597 return _cornerWidth;
1602 _cornerHeight = cornerHeight_;
1606 return _cornerHeight;
1612 double _lowerRightX;
1613 double _lowerRightY;
1614 double _cornerWidth;
1615 double _cornerHeight;
1630 void operator()( MagickCore::DrawingWand *context_ )
const;
1639 double x(
void )
const 1648 double y(
void )
const 1669 void operator()( MagickCore::DrawingWand *context_ )
const;
1698 void operator()( MagickCore::DrawingWand *context_ )
const;
1732 void operator()(MagickCore::DrawingWand *context_)
const;
1737 void dasharray(
const double* dasharray_);
1738 const double* dasharray(
void)
const;
1759 void operator()(MagickCore::DrawingWand *context_)
const;
1764 void offset(
const double offset_);
1765 double offset(
void)
const;
1776 : _linecap(linecap_)
1782 void operator()( MagickCore::DrawingWand *context_ )
const;
1789 _linecap = linecap_;
1805 : _linejoin(linejoin_)
1811 void operator()( MagickCore::DrawingWand *context_ )
const;
1818 _linejoin = linejoin_;
1834 : _miterlimit(miterlimit_)
1840 void operator()( MagickCore::DrawingWand *context_ )
const;
1847 _miterlimit = miterlimit_;
1870 void operator()(MagickCore::DrawingWand *context_)
const;
1872 void url(
const std::string &url_);
1873 std::string url(
void)
const;
1893 void operator()( MagickCore::DrawingWand *context_ )
const;
1922 void operator()( MagickCore::DrawingWand *context_ )
const;
1946 : _opacity(opacity_)
1953 void operator()(MagickCore::DrawingWand *context_)
const;
1983 void operator()( MagickCore::DrawingWand *context_ )
const;
2006 const std::string &text_ );
2008 const std::string &text_,
const std::string &encoding_);
2015 void operator()( MagickCore::DrawingWand *context_ )
const;
2022 _encoding = encoding_;
2029 double x(
void )
const 2038 double y(
void )
const 2043 void text(
const std::string &text_ )
2056 std::string _encoding;
2071 void operator()(MagickCore::DrawingWand *context_)
const;
2073 void alignment(AlignType alignment_);
2074 AlignType alignment(
void)
const;
2080 AlignType _alignment;
2094 void operator()( MagickCore::DrawingWand *context_ )
const;
2123 void operator()( MagickCore::DrawingWand *context_ )
const;
2130 _decoration = decoration_;
2138 DecorationType _decoration;
2150 void operator()(MagickCore::DrawingWand *context_)
const;
2152 void direction(DirectionType direction_);
2153 DirectionType direction(
void)
const;
2158 DirectionType _direction;
2170 void operator()(MagickCore::DrawingWand *context_)
const;
2172 void spacing(
double spacing_);
2173 double spacing(
void)
const;
2190 void operator()(MagickCore::DrawingWand *context_)
const;
2192 void spacing(
double spacing_);
2193 double spacing(
void)
const;
2210 void operator()(MagickCore::DrawingWand *context_)
const;
2212 void kerning(
double kerning_);
2213 double kerning(
void)
const;
2232 void operator()( MagickCore::DrawingWand *context_ )
const;
2262 void operator()( MagickCore::DrawingWand *context_ )
const;
2271 double x(
void )
const 2280 double y(
void )
const 2295 ::ssize_t x2_, ::ssize_t y2_)
2304 void operator()( MagickCore::DrawingWand *context_ )
const;
2314 ::ssize_t
x1(
void )
const 2323 ::ssize_t
y1(
void )
const 2332 ::ssize_t
x2(
void )
const 2341 ::ssize_t
y2(
void )
const 2362 double xAxisRotation_,
bool largeArcFlag_,
2363 bool sweepFlag_,
double x_,
double y_ );
2371 _radiusX = radiusX_;
2380 _radiusY = radiusY_;
2389 _xAxisRotation = xAxisRotation_;
2393 return _xAxisRotation;
2398 _largeArcFlag = largeArcFlag_;
2402 return _largeArcFlag;
2407 _sweepFlag = sweepFlag_;
2418 double x(
void )
const 2427 double y(
void )
const 2435 double _xAxisRotation;
2444 const PathArcArgs& right_ );
2446 const PathArcArgs& right_ );
2448 const PathArcArgs& right_ );
2450 const PathArcArgs& right_ );
2452 const PathArcArgs& right_ );
2454 const PathArcArgs& right_ );
2458 #if defined(MagickDLLExplicitTemplate) 2461 std::allocator<Magick::PathArcArgs>;
2466 #endif // MagickDLLExplicitTemplate 2485 void operator()( MagickCore::DrawingWand *context_ )
const;
2507 void operator()( MagickCore::DrawingWand *context_ )
const;
2528 void operator()( MagickCore::DrawingWand *context_ )
const;
2546 double x2_,
double y2_,
2547 double x_,
double y_ );
2593 double x(
void )
const 2602 double y(
void )
const 2618 const PathCurvetoArgs& right_ );
2620 const PathCurvetoArgs& right_ );
2622 const PathCurvetoArgs& right_ );
2624 const PathCurvetoArgs& right_ );
2626 const PathCurvetoArgs& right_ );
2628 const PathCurvetoArgs& right_ );
2632 #if defined(MagickDLLExplicitTemplate) 2635 std::allocator<Magick::PathCurvetoArgs>;
2640 #endif // MagickDLLExplicitTemplate 2658 void operator()( MagickCore::DrawingWand *context_ )
const;
2681 void operator()( MagickCore::DrawingWand *context_ )
const;
2704 void operator()( MagickCore::DrawingWand *context_ )
const;
2729 void operator()( MagickCore::DrawingWand *context_ )
const;
2748 double x_,
double y_ );
2776 double x(
void )
const 2785 double y(
void )
const 2799 const PathQuadraticCurvetoArgs& right_ );
2801 const PathQuadraticCurvetoArgs& right_);
2803 const PathQuadraticCurvetoArgs& right_);
2805 const PathQuadraticCurvetoArgs& right_);
2807 const PathQuadraticCurvetoArgs& right_ );
2809 const PathQuadraticCurvetoArgs& right_ );
2813 #if defined(MagickDLLExplicitTemplate) 2816 std::allocator<Magick::PathQuadraticCurvetoArgs>;
2821 #endif // MagickDLLExplicitTemplate 2839 void operator()( MagickCore::DrawingWand *context_ )
const;
2863 void operator()( MagickCore::DrawingWand *context_ )
const;
2887 void operator()( MagickCore::DrawingWand *context_ )
const;
2911 void operator()( MagickCore::DrawingWand *context_ )
const;
2939 void operator()( MagickCore::DrawingWand *context_ )
const;
2963 void operator()( MagickCore::DrawingWand *context_ )
const;
2984 void operator()( MagickCore::DrawingWand *context_ )
const;
2993 double x(
void )
const 3012 void operator()( MagickCore::DrawingWand *context_ )
const;
3021 double x(
void )
const 3042 void operator()( MagickCore::DrawingWand *context_ )
const;
3051 double y(
void )
const 3070 void operator()( MagickCore::DrawingWand *context_ )
const;
3079 double y(
void )
const 3105 void operator()( MagickCore::DrawingWand *context_ )
const;
3129 void operator()( MagickCore::DrawingWand *context_ )
const;
3140 #endif // Magick_Drawable_header
void upperLeftY(double upperLeftY_)
GravityType gravity(void) const
PaintMethod paintMethod(void) const
size_t miterlimit(void) const
MagickPPExport int operator!=(const Magick::Color &left_, const Magick::Color &right_)
void composition(CompositeOperator composition_)
double startX(void) const
double originY(void) const
PathLinetoVerticalRel(double y_)
double xAxisRotation(void) const
void upperLeftY(double upperLeftY_)
DrawableStrokeDashOffset(const double offset_)
void ty(const double ty_)
void centerX(double centerX_)
DrawableStrokeAntialias(bool flag_)
DrawableRectangle(double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_)
std::vector< Magick::PathCurvetoArgs > PathCurveToArgsList
double opacity(void) const
double lowerRightY(void) const
void font(const std::string &font_)
PathLinetoHorizontalRel(double x_)
DrawablePoint(double x_, double y_)
void paintMethod(PaintMethod paintMethod_)
DrawableRoundRectangle(double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_, double cornerWidth_, double cornerHeight_)
double startX(void) const
DrawableEllipse(double originX_, double originY_, double radiusX_, double radiusY_, double arcStart_, double arcEnd_)
DrawablePopGraphicContext(void)
void width(double width_)
Coordinate(double x_, double y_)
double upperLeftY(void) const
double upperLeftX(void) const
LineJoin linejoin(void) const
void angle(double angle_)
std::string clip_path(void) const
FillRule fillRule(void) const
double startY(void) const
double pointSize(void) const
DrawableArc(double startX_, double startY_, double endX_, double endY_, double startDegrees_, double endDegrees_)
std::vector< Magick::PathQuadraticCurvetoArgs > PathQuadraticCurvetoArgsList
void color(const Color &color_)
void tx(const double tx_)
DrawableViewbox(::ssize_t x1_, ::ssize_t y1_, ::ssize_t x2_, ::ssize_t y2_)
double radiusY(void) const
double perimY(void) const
void upperLeftX(double upperLeftX_)
double originY(void) const
void largeArcFlag(bool largeArcFlag_)
void linejoin(LineJoin linejoin_)
PathLinetoHorizontalAbs(double x_)
MagickPPExport int operator<(const Magick::Color &left_, const Magick::Color &right_)
DecorationType decoration(void) const
double lowerRightX(void) const
void startDegrees(double startDegrees_)
double opacity(void) const
DrawablePushGraphicContext(void)
double radiusX(void) const
void fillRule(const FillRule fillRule_)
void sweepFlag(bool sweepFlag_)
DrawableStrokeLineJoin(LineJoin linejoin_)
double upperLeftY(void) const
void color(const Color &color_)
void opacity(double opacity_)
double arcEnd(void) const
void perimY(double perimY_)
void startX(double startX_)
MagickPPExport int operator<=(const Magick::Color &left_, const Magick::Color &right_)
void xAxisRotation(double xAxisRotation_)
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_)
bool sweepFlag(void) const
void gravity(GravityType gravity_)
DrawableGravity(GravityType gravity_)
DrawableStrokeOpacity(double opacity_)
DrawableScaling(double x_, double y_)
LineCap linecap(void) const
double perimX(void) const
PathLinetoVerticalAbs(double y_)
double lowerRightY(void) const
DrawableSkewX(double angle_)
std::vector< Magick::Drawable > DrawableList
double lowerRightX(void) const
void arcEnd(double arcEnd_)
DrawableCircle(double originX_, double originY_, double perimX_, double perimY_)
void originX(double originX_)
double endDegrees(void) const
void miterlimit(size_t miterlimit_)
DrawableStrokeLineCap(LineCap linecap_)
void sy(const double sy_)
std::vector< Magick::VPath > VPathList
std::string font(void) const
void width(double width_)
double originX(void) const
void sx(const double sx_)
double height(void) const
void startX(double startX_)
void radiusY(double radiusY_)
DrawableSkewY(double angle_)
void centerY(double centerY_)
void originY(double originY_)
CompositeOperator composition(void) const
#define MagickDrawableExtern
DrawableAlpha(double x_, double y_, PaintMethod paintMethod_)
void color(const Color &color_)
void lowerRightY(double lowerRightY_)
DrawableLine(double startX_, double startY_, double endX_, double endY_)
DrawableStrokeWidth(double width_)
void linecap(LineCap linecap_)
double cornerHeight(void) const
void height(double height_)
void rx(const double rx_)
void text(const std::string &text_)
DrawableRotation(double angle_)
std::vector< Magick::PathArcArgs > PathArcArgsList
void endDegrees(double endDegrees_)
void width(double width_)
DrawableMiterLimit(size_t miterlimit_)
double upperLeftX(void) const
void radiusX(double radiusX_)
void angle(double angle_)
DrawablePopClipPath(void)
double cornerWidth(void) const
void startY(double startY_)
double startY(void) const
double originX(void) const
void cornerHeight(double cornerHeight_)
DrawablePointSize(double pointSize_)
void perimX(double perimX_)
void cornerWidth(double cornerWidth_)
void ry(const double ry_)
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 arcStart(void) const
void lowerRightX(double lowerRightX_)
PaintMethod paintMethod(void) const
void originX(double originX_)
double centerY(void) const
DrawableFillOpacity(double opacity_)
void arcStart(double arcStart_)
std::vector< Magick::Coordinate > CoordinateList
void angle(double angle_)
double radiusX(void) const
void hight(double hight_)
void lowerRightX(double lowerRightX_)
double startDegrees(void) const
void opacity(double opacity_)
DrawableFillRule(const FillRule fillRule_)
bool largeArcFlag(void) const
double centerX(void) const
DrawableColor(double x_, double y_, PaintMethod paintMethod_)
std::string text(void) const
void radiusY(double radiusY_)
void originY(double originY_)
void upperLeftX(double upperLeftX_)
double radiusY(void) const