#include <stdio.h>#include <stdlib.h>#include <wand/MagickWand.h>
Go to the source code of this file.
Defines | |
| #define | ThrowWandException(wand) |
Functions | |
| static void | ScribbleImage (MagickWand *canvas) |
| int | main (int argc, char **argv) |
| #define ThrowWandException | ( | wand | ) |
{ \
char \
*description; \
\
ExceptionType \
severity; \
\
description=MagickGetException(wand,&severity); \
(void) fprintf(stderr,"%s %s %lu %s\n",GetMagickModule(),description); \
description=(char *) MagickRelinquishMemory(description); \
exit(-1); \
}
Definition at line 12 of file drawtest.c.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 382 of file drawtest.c.
References DestroyMagickWand(), MagickReadImage(), MagickSetSize(), MagickWandGenesis(), MagickWandTerminus(), MagickWriteImage(), MaxTextExtent, NewMagickWand(), ScribbleImage(), and ThrowWandException.
| static void ScribbleImage | ( | MagickWand * | canvas | ) | [static] |
Definition at line 26 of file drawtest.c.
References DestroyDrawingWand(), DestroyPixelWand(), DrawArc(), DrawEllipse(), DrawPolygon(), DrawPopClipPath(), DrawPopDefs(), DrawPushClipPath(), DrawPushDefs(), DrawRectangle(), DrawRotate(), DrawRoundRectangle(), DrawScale(), DrawSetClipPath(), DrawSetFillColor(), DrawSetFillOpacity(), DrawSetFillRule(), DrawSetStrokeAntialias(), DrawSetStrokeColor(), DrawSetStrokeDashArray(), DrawSetStrokeLineCap(), DrawSetStrokeLineJoin(), DrawSetStrokeWidth(), DrawSetViewbox(), DrawTranslate(), MagickDrawImage(), MagickGetImageHeight(), MagickGetImageWidth(), NewDrawingWand(), NewPixelWand(), PixelSetColor(), PopDrawingWand(), and PushDrawingWand().
Referenced by main().
1.6.1