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 60 void x(
double x_) { _x=x_; }
61 double x(
void)
const {
return _x; }
63 void y(
double y_) { _y=y_; }
64 double y(
void)
const {
return _y; }
73 #if defined(MagickDLLExplicitTemplate) 76 std::allocator<Magick::Coordinate>;
78 #endif // MagickDLLExplicitTemplate 108 virtual void operator()(MagickCore::DrawingWand *)
const;
117 #undef Drawable // Conflict with <X11/Xproto.h> 138 void operator()(MagickCore::DrawingWand *)
const;
146 #if defined(MagickDLLExplicitTemplate) 149 std::allocator<Magick::Drawable>;
151 #endif // MagickDLLExplicitTemplate 171 virtual void operator()( MagickCore::DrawingWand *context_ )
const = 0;
192 virtual ~
VPath (
void );
201 void operator()( MagickCore::DrawingWand *context_ )
const;
209 #if defined(MagickDLLExplicitTemplate) 212 std::allocator<Magick::VPath>;
217 #endif // MagickDLLExplicitTemplate 228 double rx_,
double ry_,
229 double tx_,
double ty_ );
236 void operator()( MagickCore::DrawingWand *context_ )
const;
242 void sx(
const double sx_ )
246 double sx(
void )
const 251 void sy(
const double sy_ )
255 double sy(
void )
const 260 void rx(
const double rx_ )
264 double rx(
void )
const 269 void ry(
const double ry_ )
273 double ry(
void )
const 278 void tx(
const double tx_ )
282 double tx(
void )
const 287 void ty(
const double ty_ )
291 double ty(
void )
const 297 MagickCore::AffineMatrix _affine;
308 _paintMethod(paintMethod_)
315 void operator()(MagickCore::DrawingWand *context_)
const;
342 _paintMethod=paintMethod_;
347 return(_paintMethod);
354 PaintMethod _paintMethod;
362 double endX_,
double endY_,
363 double startDegrees_,
double endDegrees_ )
368 _startDegrees(startDegrees_),
369 _endDegrees(endDegrees_)
375 void operator()( MagickCore::DrawingWand *context_ )
const;
418 _startDegrees = startDegrees_;
422 return _startDegrees;
427 _endDegrees = endDegrees_;
439 double _startDegrees;
457 void operator()( MagickCore::DrawingWand *context_ )
const;
478 void operator()(MagickCore::DrawingWand *context_)
const;
480 void color(
const Color &color_);
481 Color color(
void)
const;
500 void operator()(MagickCore::DrawingWand *context_)
const;
502 void fillRule(
const FillRule fillRule_);
503 FillRule fillRule(
void)
const;
522 void operator()(MagickCore::DrawingWand *context_)
const;
524 void units(
const ClipPathUnits units_);
525 ClipPathUnits units(
void)
const;
531 ClipPathUnits _units;
546 void operator()( MagickCore::DrawingWand *context_ )
const;
566 void operator()( MagickCore::DrawingWand *context_ )
const;
585 void operator()( MagickCore::DrawingWand *context_ )
const;
608 double perimX_,
double perimY_ )
609 : _originX(originX_),
619 void operator()( MagickCore::DrawingWand *context_ )
const;
672 PaintMethod paintMethod_ )
675 _paintMethod(paintMethod_)
681 void operator()( MagickCore::DrawingWand *context_ )
const;
690 double x(
void )
const 699 double y(
void )
const 706 _paintMethod = paintMethod_;
716 PaintMethod _paintMethod;
725 const std::string &filename_ );
728 const Image &image_ );
731 double width_,
double height_,
732 const std::string &filename_ );
735 double width_,
double height_,
736 const Image &image_ );
739 double width_,
double height_,
740 const std::string &filename_,
741 CompositeOperator composition_ );
744 double width_,
double height_,
746 CompositeOperator composition_ );
759 void operator()( MagickCore::DrawingWand *context_ )
const;
766 _composition = composition_;
773 void filename(
const std::string &image_ );
774 std::string filename(
void )
const;
780 double x(
void )
const 789 double y(
void )
const 812 void image(
const Image &image_ );
816 void magick( std::string magick_ );
817 std::string magick(
void );
820 CompositeOperator _composition;
839 void operator()(MagickCore::DrawingWand *context_)
const;
844 std::string _density;
852 double radiusX_,
double radiusY_,
853 double arcStart_,
double arcEnd_ )
854 : _originX(originX_),
858 _arcStart(arcStart_),
865 void operator()( MagickCore::DrawingWand *context_ )
const;
908 _arcStart = arcStart_;
944 void operator()( MagickCore::DrawingWand *context_ )
const;
977 void operator()(MagickCore::DrawingWand *context_)
const;
979 void url(
const std::string &url_);
980 std::string url(
void)
const;
994 : _fillRule(fillRule_)
1001 void operator()( MagickCore::DrawingWand *context_ )
const;
1008 _fillRule = fillRule_;
1025 : _opacity(opacity_)
1032 void operator()(MagickCore::DrawingWand *context_)
const;
1059 const unsigned int weight_,
1060 StretchType stretch_ );
1066 void operator()( MagickCore::DrawingWand *context_ )
const;
1071 void font(
const std::string &font_ )
1082 std::string _family;
1084 unsigned int _weight;
1085 StretchType _stretch;
1093 : _gravity(gravity_)
1100 void operator()( MagickCore::DrawingWand *context_ )
const;
1107 _gravity = gravity_;
1115 GravityType _gravity;
1123 double endX_,
double endY_ )
1133 void operator()( MagickCore::DrawingWand *context_ )
const;
1192 void operator()( MagickCore::DrawingWand *context_ )
const;
1213 void operator()( MagickCore::DrawingWand *context_ )
const;
1222 double x(
void )
const 1231 double y(
void )
const 1246 : _pointSize(pointSize_)
1252 void operator()( MagickCore::DrawingWand *context_ )
const;
1259 _pointSize = pointSize_;
1281 void operator()( MagickCore::DrawingWand *context_ )
const;
1301 void operator()( MagickCore::DrawingWand *context_ )
const;
1322 void operator()( MagickCore::DrawingWand *context_ )
const;
1343 void operator()( MagickCore::DrawingWand *context_ )
const;
1364 void operator()( MagickCore::DrawingWand *context_ )
const;
1378 size_t width_,
size_t height_ );
1385 void operator()( MagickCore::DrawingWand *context_ )
const;
1403 double lowerRightX_,
double lowerRightY_ )
1404 : _upperLeftX(upperLeftX_),
1405 _upperLeftY(upperLeftY_),
1406 _lowerRightX(lowerRightX_),
1407 _lowerRightY(lowerRightY_)
1413 void operator()( MagickCore::DrawingWand *context_ )
const;
1420 _upperLeftX = upperLeftX_;
1429 _upperLeftY = upperLeftY_;
1438 _lowerRightX = lowerRightX_;
1442 return _lowerRightX;
1447 _lowerRightY = lowerRightY_;
1451 return _lowerRightY;
1457 double _lowerRightX;
1458 double _lowerRightY;
1472 void operator()( MagickCore::DrawingWand *context_ )
const;
1495 double lowerRightX_,
double lowerRightY_,
1496 double cornerWidth_,
double cornerHeight_ )
1497 : _upperLeftX(upperLeftX_),
1498 _upperLeftY(upperLeftY_),
1499 _lowerRightX(lowerRightX_),
1500 _lowerRightY(lowerRightY_),
1501 _cornerWidth(cornerWidth_),
1502 _cornerHeight(cornerHeight_)
1508 void operator()( MagickCore::DrawingWand *context_ )
const;
1513 #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) 1517 _upperLeftX = centerX_;
1526 _upperLeftY = centerY_;
1535 _lowerRightX = width_;
1539 return _lowerRightX;
1544 _lowerRightY = hight_;
1548 return _lowerRightY;
1555 _upperLeftX = upperLeftX_;
1564 _upperLeftY = upperLeftY_;
1573 _lowerRightX = lowerRightX_;
1577 return _lowerRightX;
1582 _lowerRightY = lowerRightY_;
1586 return _lowerRightY;
1591 _cornerWidth = cornerWidth_;
1595 return _cornerWidth;
1600 _cornerHeight = cornerHeight_;
1604 return _cornerHeight;
1610 double _lowerRightX;
1611 double _lowerRightY;
1612 double _cornerWidth;
1613 double _cornerHeight;
1628 void operator()( MagickCore::DrawingWand *context_ )
const;
1637 double x(
void )
const 1646 double y(
void )
const 1667 void operator()( MagickCore::DrawingWand *context_ )
const;
1696 void operator()( MagickCore::DrawingWand *context_ )
const;
1730 void operator()(MagickCore::DrawingWand *context_)
const;
1735 void dasharray(
const double* dasharray_);
1736 const double* dasharray(
void)
const;
1757 void operator()(MagickCore::DrawingWand *context_)
const;
1762 void offset(
const double offset_);
1763 double offset(
void)
const;
1774 : _linecap(linecap_)
1780 void operator()( MagickCore::DrawingWand *context_ )
const;
1787 _linecap = linecap_;
1803 : _linejoin(linejoin_)
1809 void operator()( MagickCore::DrawingWand *context_ )
const;
1816 _linejoin = linejoin_;
1832 : _miterlimit(miterlimit_)
1838 void operator()( MagickCore::DrawingWand *context_ )
const;
1845 _miterlimit = miterlimit_;
1868 void operator()(MagickCore::DrawingWand *context_)
const;
1870 void url(
const std::string &url_);
1871 std::string url(
void)
const;
1891 void operator()( MagickCore::DrawingWand *context_ )
const;
1920 void operator()( MagickCore::DrawingWand *context_ )
const;
1944 : _opacity(opacity_)
1951 void operator()(MagickCore::DrawingWand *context_)
const;
1981 void operator()( MagickCore::DrawingWand *context_ )
const;
2004 const std::string &text_ );
2006 const std::string &text_,
const std::string &encoding_);
2013 void operator()( MagickCore::DrawingWand *context_ )
const;
2020 _encoding = encoding_;
2027 double x(
void )
const 2036 double y(
void )
const 2041 void text(
const std::string &text_ )
2054 std::string _encoding;
2069 void operator()(MagickCore::DrawingWand *context_)
const;
2071 void alignment(AlignType alignment_);
2072 AlignType alignment(
void)
const;
2078 AlignType _alignment;
2092 void operator()( MagickCore::DrawingWand *context_ )
const;
2121 void operator()( MagickCore::DrawingWand *context_ )
const;
2128 _decoration = decoration_;
2136 DecorationType _decoration;
2148 void operator()(MagickCore::DrawingWand *context_)
const;
2150 void direction(DirectionType direction_);
2151 DirectionType direction(
void)
const;
2156 DirectionType _direction;
2168 void operator()(MagickCore::DrawingWand *context_)
const;
2170 void spacing(
double spacing_);
2171 double spacing(
void)
const;
2188 void operator()(MagickCore::DrawingWand *context_)
const;
2190 void spacing(
double spacing_);
2191 double spacing(
void)
const;
2208 void operator()(MagickCore::DrawingWand *context_)
const;
2210 void kerning(
double kerning_);
2211 double kerning(
void)
const;
2230 void operator()( MagickCore::DrawingWand *context_ )
const;
2260 void operator()( MagickCore::DrawingWand *context_ )
const;
2269 double x(
void )
const 2278 double y(
void )
const 2293 ::ssize_t x2_, ::ssize_t y2_)
2302 void operator()( MagickCore::DrawingWand *context_ )
const;
2312 ::ssize_t
x1(
void )
const 2321 ::ssize_t
y1(
void )
const 2330 ::ssize_t
x2(
void )
const 2339 ::ssize_t
y2(
void )
const 2360 double xAxisRotation_,
bool largeArcFlag_,
2361 bool sweepFlag_,
double x_,
double y_ );
2369 _radiusX = radiusX_;
2378 _radiusY = radiusY_;
2387 _xAxisRotation = xAxisRotation_;
2391 return _xAxisRotation;
2396 _largeArcFlag = largeArcFlag_;
2400 return _largeArcFlag;
2405 _sweepFlag = sweepFlag_;
2416 double x(
void )
const 2425 double y(
void )
const 2433 double _xAxisRotation;
2442 const PathArcArgs& right_ );
2444 const PathArcArgs& right_ );
2446 const PathArcArgs& right_ );
2448 const PathArcArgs& right_ );
2450 const PathArcArgs& right_ );
2452 const PathArcArgs& right_ );
2456 #if defined(MagickDLLExplicitTemplate) 2459 std::allocator<Magick::PathArcArgs>;
2464 #endif // MagickDLLExplicitTemplate 2483 void operator()( MagickCore::DrawingWand *context_ )
const;
2505 void operator()( MagickCore::DrawingWand *context_ )
const;
2526 void operator()( MagickCore::DrawingWand *context_ )
const;
2544 double x2_,
double y2_,
2545 double x_,
double y_ );
2591 double x(
void )
const 2600 double y(
void )
const 2616 const PathCurvetoArgs& right_ );
2618 const PathCurvetoArgs& right_ );
2620 const PathCurvetoArgs& right_ );
2622 const PathCurvetoArgs& right_ );
2624 const PathCurvetoArgs& right_ );
2626 const PathCurvetoArgs& right_ );
2630 #if defined(MagickDLLExplicitTemplate) 2633 std::allocator<Magick::PathCurvetoArgs>;
2638 #endif // MagickDLLExplicitTemplate 2656 void operator()( MagickCore::DrawingWand *context_ )
const;
2679 void operator()( MagickCore::DrawingWand *context_ )
const;
2702 void operator()( MagickCore::DrawingWand *context_ )
const;
2727 void operator()( MagickCore::DrawingWand *context_ )
const;
2746 double x_,
double y_ );
2774 double x(
void )
const 2783 double y(
void )
const 2797 const PathQuadraticCurvetoArgs& right_ );
2799 const PathQuadraticCurvetoArgs& right_);
2801 const PathQuadraticCurvetoArgs& right_);
2803 const PathQuadraticCurvetoArgs& right_);
2805 const PathQuadraticCurvetoArgs& right_ );
2807 const PathQuadraticCurvetoArgs& right_ );
2811 #if defined(MagickDLLExplicitTemplate) 2814 std::allocator<Magick::PathQuadraticCurvetoArgs>;
2819 #endif // MagickDLLExplicitTemplate 2837 void operator()( MagickCore::DrawingWand *context_ )
const;
2861 void operator()( MagickCore::DrawingWand *context_ )
const;
2885 void operator()( MagickCore::DrawingWand *context_ )
const;
2909 void operator()( MagickCore::DrawingWand *context_ )
const;
2937 void operator()( MagickCore::DrawingWand *context_ )
const;
2961 void operator()( MagickCore::DrawingWand *context_ )
const;
2982 void operator()( MagickCore::DrawingWand *context_ )
const;
2991 double x(
void )
const 3010 void operator()( MagickCore::DrawingWand *context_ )
const;
3019 double x(
void )
const 3040 void operator()( MagickCore::DrawingWand *context_ )
const;
3049 double y(
void )
const 3068 void operator()( MagickCore::DrawingWand *context_ )
const;
3077 double y(
void )
const 3103 void operator()( MagickCore::DrawingWand *context_ )
const;
3127 void operator()( MagickCore::DrawingWand *context_ )
const;
3138 #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