/* {{{ proto bool GmagickDraw::setStrokeOpacity(float stroke_opacity) Specifies the opacity of stroked object outlines. */ PHP_METHOD(gmagickdraw, setstrokeopacity) { php_gmagickdraw_object *internd; double opacity; /* Parse parameters given to function */ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { return; } internd = (php_gmagickdraw_object *) zend_object_store_get_object(getThis() TSRMLS_CC); DrawSetStrokeOpacity(internd->drawing_wand, opacity); GMAGICK_CHAIN_METHOD; }
static bool HHVM_METHOD(ImagickDraw, setStrokeOpacity, double stroke_opacity) { auto wand = getDrawingWandResource(Object{this_}); DrawSetStrokeOpacity(wand->getWand(), stroke_opacity); return true; }
static bool HHVM_METHOD(ImagickDraw, setStrokeAlpha, double opacity) { auto wand = getDrawingWandResource(this_); DrawSetStrokeOpacity(wand->getWand(), opacity); return true; }
MAGICK_NET_EXPORT void DrawingWand_StrokeOpacity(DrawingWand *instance, const double value, ExceptionInfo **exception) { DrawSetStrokeOpacity(instance, value); MAGICK_NET_SET_DRAW_EXCEPTION; }