Пример #1
0
static bool HHVM_METHOD(ImagickDraw, setTextUnderColor,
    const Variant& under_color) {
  auto wand = getDrawingWandResource(Object{this_});
  auto pixel(buildColorWand(under_color));
  DrawSetTextUnderColor(wand->getWand(), pixel->getWand());
  return true;
}
Пример #2
0
MAGICK_NET_EXPORT void DrawingWand_TextUnderColor(DrawingWand *instance, const PixelInfo *color, ExceptionInfo **exception)
{
  MAGICK_NET_GET_PIXEL_WAND(color);
  DrawSetTextUnderColor(instance, pixel_wand);
  MAGICK_NET_REMOVE_PIXEL_WAND;
  MAGICK_NET_SET_DRAW_EXCEPTION;
}