• Home
  • Raw
  • Download

Lines Matching refs:wand_view

118 WandExport WandView *CloneWandView(const WandView *wand_view)  in CloneWandView()  argument
126 assert(wand_view != (WandView *) NULL); in CloneWandView()
127 assert(wand_view->signature == MagickWandSignature); in CloneWandView()
128 if (wand_view->debug != MagickFalse) in CloneWandView()
129 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand_view->name); in CloneWandView()
133 wand_view->name); in CloneWandView()
138 clone_view->description=ConstantString(wand_view->description); in CloneWandView()
139 clone_view->image=CloneImage(wand_view->image,0,0,MagickTrue, in CloneWandView()
140 wand_view->exception); in CloneWandView()
141 clone_view->view=CloneCacheView(wand_view->view); in CloneWandView()
142 clone_view->extent=wand_view->extent; in CloneWandView()
144 InheritException(clone_view->exception,wand_view->exception); in CloneWandView()
147 wand_view->pixel_wands[i],wand_view->extent.width); in CloneWandView()
148 clone_view->debug=wand_view->debug; in CloneWandView()
192 WandExport WandView *DestroyWandView(WandView *wand_view) in DestroyWandView() argument
194 assert(wand_view != (WandView *) NULL); in DestroyWandView()
195 assert(wand_view->signature == MagickWandSignature); in DestroyWandView()
196 wand_view->pixel_wands=DestroyPixelsThreadSet(wand_view->pixel_wands, in DestroyWandView()
197 wand_view->extent.width); in DestroyWandView()
198 wand_view->image=DestroyImage(wand_view->image); in DestroyWandView()
199 wand_view->view=DestroyCacheView(wand_view->view); in DestroyWandView()
200 wand_view->exception=DestroyExceptionInfo(wand_view->exception); in DestroyWandView()
201 wand_view->signature=(~MagickWandSignature); in DestroyWandView()
202 RelinquishWandId(wand_view->id); in DestroyWandView()
203 wand_view=(WandView *) RelinquishMagickMemory(wand_view); in DestroyWandView()
204 return(wand_view); in DestroyWandView()
413 WandExport char *GetWandViewException(const WandView *wand_view, in GetWandViewException() argument
419 assert(wand_view != (const WandView *) NULL); in GetWandViewException()
420 assert(wand_view->signature == MagickWandSignature); in GetWandViewException()
421 if (wand_view->debug != MagickFalse) in GetWandViewException()
422 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand_view->name); in GetWandViewException()
424 *severity=wand_view->exception->severity; in GetWandViewException()
429 wand_view->name); in GetWandViewException()
431 if (wand_view->exception->reason != (char *) NULL) in GetWandViewException()
433 wand_view->exception->severity,wand_view->exception->reason), in GetWandViewException()
435 if (wand_view->exception->description != (char *) NULL) in GetWandViewException()
439 wand_view->exception->severity,wand_view->exception->description), in GetWandViewException()
468 WandExport RectangleInfo GetWandViewExtent(const WandView *wand_view) in GetWandViewExtent() argument
470 assert(wand_view != (WandView *) NULL); in GetWandViewExtent()
471 assert(wand_view->signature == MagickWandSignature); in GetWandViewExtent()
472 return(wand_view->extent); in GetWandViewExtent()
616 WandExport PixelWand **GetWandViewPixels(const WandView *wand_view) in GetWandViewPixels() argument
621 assert(wand_view != (WandView *) NULL); in GetWandViewPixels()
622 assert(wand_view->signature == MagickWandSignature); in GetWandViewPixels()
623 return(wand_view->pixel_wands[id]); in GetWandViewPixels()
648 WandExport MagickWand *GetWandViewWand(const WandView *wand_view) in GetWandViewWand() argument
650 assert(wand_view != (WandView *) NULL); in GetWandViewWand()
651 assert(wand_view->signature == MagickWandSignature); in GetWandViewWand()
652 return(wand_view->wand); in GetWandViewWand()
678 WandExport MagickBooleanType IsWandView(const WandView *wand_view) in IsWandView() argument
683 if (wand_view == (const WandView *) NULL) in IsWandView()
685 if (wand_view->signature != MagickWandSignature) in IsWandView()
688 if (LocaleNCompare(wand_view->name,WandViewId,length) != 0) in IsWandView()
749 *wand_view; in NewWandView() local
753 wand_view=(WandView *) AcquireMagickMemory(sizeof(*wand_view)); in NewWandView()
754 if (wand_view == (WandView *) NULL) in NewWandView()
757 (void) ResetMagickMemory(wand_view,0,sizeof(*wand_view)); in NewWandView()
758 wand_view->id=AcquireWandId(); in NewWandView()
759 (void) FormatLocaleString(wand_view->name,MagickPathExtent,"%s-%.20g", in NewWandView()
760 WandViewId,(double) wand_view->id); in NewWandView()
761 wand_view->description=ConstantString("WandView"); in NewWandView()
762 wand_view->wand=wand; in NewWandView()
764 wand_view->view=AcquireVirtualCacheView(wand_view->wand->images,exception); in NewWandView()
765 wand_view->extent.width=wand->images->columns; in NewWandView()
766 wand_view->extent.height=wand->images->rows; in NewWandView()
767 wand_view->pixel_wands=AcquirePixelsThreadSet(wand_view->extent.width); in NewWandView()
768 wand_view->exception=exception; in NewWandView()
769 if (wand_view->pixel_wands == (PixelWand ***) NULL) in NewWandView()
772 wand_view->debug=IsEventLogging(); in NewWandView()
773 wand_view->signature=MagickWandSignature; in NewWandView()
774 return(wand_view); in NewWandView()
811 *wand_view; in NewWandViewExtent() local
815 wand_view=(WandView *) AcquireMagickMemory(sizeof(*wand_view)); in NewWandViewExtent()
816 if (wand_view == (WandView *) NULL) in NewWandViewExtent()
819 (void) ResetMagickMemory(wand_view,0,sizeof(*wand_view)); in NewWandViewExtent()
820 wand_view->id=AcquireWandId(); in NewWandViewExtent()
821 (void) FormatLocaleString(wand_view->name,MagickPathExtent,"%s-%.20g", in NewWandViewExtent()
822 WandViewId,(double) wand_view->id); in NewWandViewExtent()
823 wand_view->description=ConstantString("WandView"); in NewWandViewExtent()
825 wand_view->view=AcquireVirtualCacheView(wand_view->wand->images,exception); in NewWandViewExtent()
826 wand_view->wand=wand; in NewWandViewExtent()
827 wand_view->extent.width=width; in NewWandViewExtent()
828 wand_view->extent.height=height; in NewWandViewExtent()
829 wand_view->extent.x=x; in NewWandViewExtent()
830 wand_view->extent.y=y; in NewWandViewExtent()
831 wand_view->exception=exception; in NewWandViewExtent()
832 wand_view->pixel_wands=AcquirePixelsThreadSet(wand_view->extent.width); in NewWandViewExtent()
833 if (wand_view->pixel_wands == (PixelWand ***) NULL) in NewWandViewExtent()
836 wand_view->debug=IsEventLogging(); in NewWandViewExtent()
837 wand_view->signature=MagickWandSignature; in NewWandViewExtent()
838 return(wand_view); in NewWandViewExtent()
865 MagickExport void SetWandViewDescription(WandView *wand_view, in SetWandViewDescription() argument
868 assert(wand_view != (WandView *) NULL); in SetWandViewDescription()
869 assert(wand_view->signature == MagickWandSignature); in SetWandViewDescription()
870 wand_view->description=ConstantString(description); in SetWandViewDescription()